I'm pleased to have discovered the Archive function in Cisco IOS.
Here are the simple setup steps.
- Run a TFTP Server service (Solarwinds has one)
- Update the IOS config with the following commands
Switch1#conf t
Switch1(config)#archive
Switch1(config-archive)#path tftp://10.1.1.1/$h-$t
Switch1(config-archive)#write-memory
Switch1(config-archive)#end
Switch1#write mem
Note a few things.
- The IP address of the TFTP server needs to be your IP address
- The $h variable adds the switch/router host name to the file that is written
- The $t variable adds a time stamp to the file name that is written
- Each file that is written appends a hyphen and incremental numeric value.
Other Reference Links
https://learningnetwork.cisco.com/blogs/vip-perspectives/2013/10/30/understanding-cisco-auto-archive-feature-to-backup-configuration-file
No comments:
Post a Comment