02-23-2010 03:01 AM - edited 03-06-2019 09:51 AM
Hii,
Can anybody tell me how to use the archive command in to save routers and switch configuration in tftp server in a cretin time (daily or weekly ...)
02-23-2010 03:13 AM
Hii,
Can anybody tell me how to use the archive command in to save routers and switch configuration in tftp server in a cretin time (daily or weekly ...)
Hi,
Check out the link below for kron policy configuration for scehdular backup on cisco devices hope that help
http://www.configureterminal.com/free/kron.html
If helpful do rate the post
Ganesh.H
02-23-2010 05:03 AM
for weekly backup, your config should be:
ip tftp source-interface "fill_in_interface"
The archiving commands are:
archive
log config
logging enable
logging size 200 (<= This is the number of "comands issued by user X" that is saved in memory (if you use AAA, you can trace who changed what))
path tftp://IP_address/filename.txt
write-memory (<= The config is saved to the tftp server if you perform a "write memory" or a "copy run start")
time-period 10800 (<= 10800 saves your config weekly, this is good enough if your network doesn't change daily).
but I prefer to use FTP as you can protect it with a username/password, if you use FTP it will look like:
ip ftp source-interface "fill_in_interface"
ip ftp username "username"
ip ftp password "password"
service password-encryption
archive
log config
logging enable
logging size 200 (<= This is the number of "last comands issued by user X" is saved in memory (if you use AAA, you can trace who changed what))
path ftp://IP_address/filename.txt
write-memory (<= The config is saved to the tftp server if you use a "write memory" or a "copy run start")
time-period 10800 (<= 10800 saves your config weekly, this is good enough if your network doesn't change daily).
HTH
02-23-2010 05:04 AM
Hi,
you could use the archive ... time-period command, see http://www.cisco.com/en/US/docs/ios/12_3t/fun/command/reference/cfrgt_12.html#wp1058010
But IMHO, it's more useful to use archive ...write-memory
command to save your config into the archive every time you save the running- config into the startup-config.
HTH,
Milan
02-23-2010 05:08 AM
Milan
as you can see: I prefer to use time-priod & write-memory both in my config.
In case your collegue "forgets" to save the config, it is at least saved weekly :-)
Grt
S
02-23-2010 05:49 AM
Hi,
yes, I understand.
But then you've got many config copies with no change in fact.
Each solution has pros and cons :-)
BR,
Milan
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: