Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Cisco Switch auto config backup using Cisco_CopyConfig Perl Module

Kirby Ellis_1
Occasional Visitor

Cisco Switch auto config backup using Cisco_CopyConfig Perl Module

G'day all,
I am trying to initiate automatic configuration backups across the board for all the network infrastructure devices (50 - 200 cisco switches) within the networks that my company manages (30+)
I imagine that others have walked this hallowed ground before me and I would like to know of any pitfalls, tips for new players etc...
I intend to run the required Perl modules on a Windows server. I have requisitioned a few Perl modules(Cisco-CopyConfig-1.4, Net-SNMP-5.0.1, perl-5.8.6) from www.cpan.org already and as soon as my server guy is ready I shall be implementing them with him on our test network (2 x C5500). I would like the process to go something like this;
1. Server to send SNMP trap trigger to network device,
2. Network device writes config to network (TFTP server),
3. Resulting config file is compared against most recent backup,
4. If files are same, dump file (retain backed up copy),
5. If files are different, archive backed up copy, create new backup copy.
I intend on using SolarWinds free TFTP server.
Any help in the matter would be greatly appreciated.
Cheers, Kirby.
3 REPLIES
Regnar Bang Lyngsø_2
Frequent Advisor

Re: Cisco Switch auto config backup using Cisco_CopyConfig Perl Module

Why not take a look at existing projects?

Pancho:
http://www.pancho.org/

Rancid
http://www.shrubbery.net/rancid/

Regnar
Kirby Ellis_1
Occasional Visitor

Re: Cisco Switch auto config backup using Cisco_CopyConfig Perl Module

Pancho looks like the wrapping I need,in order to get all the other Perl modules to work together. However it looks like only a Unix distribution available. Can anyone provide the source code for me to compile under a Windows environment or alternatively provide a Windows distribution.
Thanks in advance.
Cheers, Kirby.
Regnar Bang Lyngsø_2
Frequent Advisor

Re: Cisco Switch auto config backup using Cisco_CopyConfig Perl Module

Have you tried following the instruction on a Windows PC running the CygWin environment?

http://www.cygwin.com/

I haven't used Pancho myself. We are using Rancid on a Linux box.

Regnar