[c-nsp] Automated configuration backup script

Justin M. Streiner streiner at cluebyfour.org
Thu Nov 4 19:17:33 EST 2004


On Thu, 4 Nov 2004, Jay Hennigan wrote:

> Some time back we set up a perl script written back in 1999 by Paul Erkkila
> for automated backup of Cisco router configurations via tftp.  It seems
> to work OK but I'm wondering if there is anything new in this arena in
> terms of flexibility, etc.  Something that also works with CatOS would
> be nice.
>
> We run primarily BSD and Linux.

I wrote a tool to do exactly that some time ago and have continued to 
develop it since.  I plan to put it up on sourceforge before long, but if 
you want a copy of it to look at, let me know.  Where possible, the 
backups are TFTP transfers initiated by SNMP.  Some devices can only be 
backed up using an interacive login because the MIBs don't support config 
file management.

As of right now it can handle:

Cisco IOS devices using the CONFIG-COPY-MIB (faster, more reliable)
Cisco IOS devices using the CISCO-STACK-MIB (the old, slow way)
Cisco IOS devices using an interactive login (last resort)*
Cisco CatOS devices
Cisco PIX firewalls *
Cisco LocalDirectors *
Cisco 3000 series VPN concentrators *
Cisco 5000 series VPN concentrators * - no longer supported
Redback SMS 500/1000/1800 *
Extreme switches (not extensively tested yet)
Lucent TNT RAS devices - could work with Max4000/6000, not sure
a variety of smaller routers that aren't supported anymore

* = interactive login required

Supporting Juniper and Foundry devices is on the project list, but I don't 
have any of those that I can easily test with at the moment.

jms


More information about the cisco-nsp mailing list