O.K.
The command line versions are.
For M10/11's
1. upload "tftp server ip address" "[directory/]config_file" confirm
I put directory in there because you can specify sub-directories with tftp.
For the example below I would use:
upload 172.30.253.2 ADSL/213.692.61993201002 confirm
"confirm" means you don't have to type yes in.
To restore that file you type:
download 172.30.253.2 ADSL/213.692.61993201002 confirm
The dumb thing is that you will have to type yes this time.
2. The easiest way to make a backup is to telnet to the box and type the
following:
conf
define preference more 0
script
quit
Now use your scrollback to copy and paste all the set commands into a text
document.
If you need to restore the config telnet back to the box type conf and paste
it back.
For M(W)1122's
1. copy startup.cfg tftp:/"tftp server ip address"/"[directory/]config_file"
(and you thought the first one was scary ;-))
For the same file this translates to:
copy startup.cfg tftp:/172.30.253.2/ADSL/213.692.61993201002
2. Again the easiest method is to telnet to the box and copy the config.
show config running
Copy this to a text file. The bad news is you can't just paste it back, you
will have to manually have to configure everything you want if you don't have a
tftp server to upload it with.
copy tftp:/172.30.253.2/ADSL/213.692.61993201002 startup.cfg
Cheers,
Andrew
Nick Rout wrote:
> So how do you back up your own config, as suggested by rob edkins? I am
> telnetted in now and cannot see the right option. I can see "install", but
> it scared the s**t out of me......
>
> is there a hidden "backup" or "down/up load" in there somewhere?
>
> ----- Original Message -----
> From: "Andrew Cutler" <andrew.cutler@team.xtra.co.nz>
> To: <adsl@unixathome.org>
> Sent: Monday, November 27, 2000 5:33 PM
> Subject: Re: Repeated failed admin uploads in M10 log
>
> Ben Gracewood wrote:
>
> > Hi all,
> >
> > I'm getting lots (as in a triple-attempt every couple of days) of these in
> > my M10 (yes, I still have one - Queen St, Ak) logs:
> >
> > TS: User "admin" logging in from host 172.30.253.2
> > 15:13:06:56 L4 TS: User "admin" completed login as administrator
> > 15:13:06:56 L4 TS: file upload started by user "admin"
> > 15:13:06:56 L4 UPLD: transfer of file "ADSL/213.692.61993201002"
> > initiated to 0.63.254.24
> > 15:13:07:11 L4 e624 UPLD: Transfer received TFTP error: 0xe624 timeout
> > waiting for server
> >
> > I'm hoping it's a Telecom person attempting to update the M10's firmware,
> > but I'm curious as to the repeated attempts and timeouts. I've had no
> > contact whatsoever from Telecom informing me of any changes and/or
> updates.
> >
> > Anyone shed any light on this?
>
> Yup,
>
> It's me. The old style M10/M11 modems regularly time out the first time so I
> repeat two
> more times. If they fail I assume UDP is pinholed capture, the config to
> screen and
> print it to file. The indicators to tell you it's Telecom are:
>
> 1. The directory and file structure are always the same ADSL/management
> stuff "." more
> management stuff "." serial number.
> 2. "User "admin" completed login as administrator" To be blunt - unless
> you've been
> very stupid and set admin rights on the ppp interface, the only interfaces
> admin can
> login are the ethernet and management interfaces.
> 3. If it's us it will come from 172.30.253.2 or 172.30.254.254
>
> The reason you're seeing this fairly often at the moment is the number of
> DSLAM upgrades
> we're doing. To try and ensure I have a backup of your config when we do one
> of these
> DSLAM upgrades I always do a system wide backup rather than just the DSLAMs
> to be
> upgraded. I do this because I noticed how many I was missing on any given
> run of the
> system.
>
> Cheers
>
> Andrew
>
> --
> When in doubt, mumble; when in trouble, delegate; when in charge, ponder.
> -James H. Boren.
>
> This message is part of the NZ ADSL mailing list.
> see http://unixathome.org/adsl/ for archives, FAQ,
> and various documents.
> To unsubscribe: send mail to majordomo@unixathome.org
> with "unsubscribe adsl" in the body of the message
--
If computers are so damn clever; why do they always do what we say,
not what we mean.
-Me.
This message is part of the NZ ADSL mailing list.
see http://unixathome.org/adsl/ for archives, FAQ,
and various documents.
To unsubscribe: send mail to majordomo@unixathome.org
with "unsubscribe adsl" in the body of the message
Received on Mon Nov 27 18:57:47 2000