10-13-2009 04:02 PM - edited 03-06-2019 08:06 AM
Using native IOS on Catalyst 45xx switches, is there a way to perform an automatic backup of the configuration to a TFTP server every 24 hrs? Right now, it is done manually with the write net command to our TFTP server (10.1.1.1). When I go into global config, the command archive is not available. I also checked to see if the IOS could be upgraded, but most of the 45xx only goes to 12.2. Thanks in advance.
10-13-2009 04:09 PM
I am not sure if you have the archive feature on your device, but you may want to check:
archive
path tftp://10.1.1.1/configs/$h-$t
maximum 14
time-period 60
write-memory
With this config, the device will write a new file to TFTP with the name HOSTNAME-DATE-X where HOSTNAME is the hostname of the device, DATE is the current date/time, and X is a number from 0 to 14. Config archives will be taken periodically every hour, or whenever a write mem is executed.
10-13-2009 04:21 PM
Ok, if archive doesnt work, how about a kron job?
kron occurrence backupp in 1 recurring
policy-list backup
!
kron policy-list backup
cli show startup | redirect tftp://10.130.100.196/ban-core12.cfg
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: