[c-nsp] App to manage pushing out changes

Brandon Ewing nicotine at warningg.com
Thu Aug 12 15:42:57 EDT 2010


On Thu, Aug 12, 2010 at 01:24:24PM -0600, Saxon Jones wrote:
> CiscoWorks LMS or even RANCID will work for this. On a box with RANCID
> installed it's done like so:
> 
> for host in router1 router2 router3; do clogin -c"config t;no ip
> access list extended asdf;ip access list extended asdf permit any
> any;end;write mem" ${host}; done
> 
> -saxon
> 

RANCID packages a perl script called "par" to run commands in parallel, to
speed the actual process with a large number of routers.  Check the man
page.

Also, depending on the platform, and the number of changes to make, you
might want to write the config changes to a tftp server, and have the
devices copy the changes to running config.  On 3560s, 3750s, etc, every
time you enter/exit an interface, CPU spikes as the ASICs are
scanned/updated, which can slow the process down considerably.  Writing
the changes from net does all of your changes in one fell swoop.

-- 
Brandon Ewing                                        (nicotine at warningg.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-nsp/attachments/20100812/a6108255/attachment.bin>


More information about the cisco-nsp mailing list