[c-nsp] Editing the startup config on the fly
Nigel
nigelc at iexec.com.au
Thu Apr 7 02:59:23 EDT 2005
Hi Guys,
Thanks for the responses.
I'll elaborate a little on what I'm trying to achieve, and why I'm after an
on the fly edit.
I'm doing some testing on bonded services with dsl in an 1841 with 2 wics.
Initially the boxes were deployed with one Dialer interface bound to the two
wics...
interface ATM0/0/0
description Test bonded
no ip address
load-interval 30
no atm ilmi-keepalive
dsl operating-mode itu-dmt
!
interface ATM0/0/0.3 point-to-point
pvc 8/35
ubr 512
encapsulation aal5mux ppp dialer
dialer pool-member 3
!
!
interface ATM0/1/0
description Test bonded
no ip address
load-interval 30
no atm ilmi-keepalive
dsl operating-mode itu-dmt
!
interface ATM0/1/0.3 point-to-point
pvc 8/35
ubr 512
encapsulation aal5mux ppp dialer
dialer pool-member 3
!
!
interface Dialer3
description Dialer test network
bandwidth 512
ip address negotiated
encapsulation ppp
load-interval 30
dialer pool 3
dialer-group 1
ppp authentication chap callin
ppp chap hostname
ppp chap password
However, after testing, the better deployment appears to use 2 Dialer
interfaces, and as such replace:
dialer pool-member 3 from one of the atm pvcs and place it in pool 4 with
dialer pool-member 4.
Then just create Dialer 4 and associate it with dialer pool 4.
That's all well and good, except, if im on the router and under either of
the the atm pvcs type:
no dialer pool-member 3
dialer pool-member 4
it removes the dialer pool-member 3 config line from the other atm interface
as well. Additionally the new line entered (dialer pool-member 4) does not
appear where it was put (confirmed from console access). From the moment the
command is entered all conectivity is lost.
I know I can tftp the start config to the box, but the boxes that im looking
at doing this to are in vrfs and while it can be done, I was hoping there
was some way of editing the startup config, so upon reload, it would all be
fine.
Cheers,
Nigel
-----Original Message-----
From: John Neiberger [mailto:jneiberger at gmail.com]
Sent: Thursday, April 07, 2005 3:08 PM
To: Nigel
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] Editing the startup config on the fly
1. Copy config to text editor
2. Make changes and move changed config to tftp server 3. erase
startup-config 4. copy tftp:<textfile> startup-config 5. reboot
HTH,
John
On Apr 6, 2005 10:49 PM, Nigel <nigelc at iexec.com.au> wrote:
> Hi All,
>
> I was just wondering if there is anyway (apart from network services -
> tftp, ftp etc...) of changing the startup config on the fly, or will
> there be provision for this in the future.
>
> If I change the commands to the running config, access to the box is
> completely lost, and for some reason it removes vital parts of the
> config, so a reload is the only option, and that puts me back at step
> one. However if i could do something like:
>
> vi nvram:startup-config
>
> or if access to nvram is to be completely protected, copy the running
> config to flash, vi the file from flash and use the boot config
> command to boot up the modified file (i'm guessing thats what the boot
> config command is for - haven't needed it yet).
>
> Any help / suggestions appreciated.
>
> Regards,
>
> Nigel
> Network Engineer
> iExec - Corporate Data Solutions
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list