06-30-2008 11:15 PM - edited 03-05-2019 11:55 PM
Hii experts,,
Is there is any set of command allow me to schedule backup of running-config. of cisco routers to TFTP server..
Thanks..
06-30-2008 11:40 PM
hi,
You can do it with the the command kron.
Look at http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_06.html#wp1022724
I hope this helps.
Best regards.
Massimiliano.
07-01-2008 02:03 AM
Hi,
this can be done with the "archive" command which is there in IOS 12.4.
You can configure each device on your network to upload the running-config at regular intervals to a TFTP/ FTP/ SCP server.
And each host will upload the files on the server with a Unique file name.
Commands as below :-
Router1(config)#archive
Router1(config-archive)#path tftp://
Router1(config-archive)#time-period 10
The above commands will upload the running config of the Router1 at regualar intervals of 10mins to the TFTP server.
For using a FTP server in place of TFTP give the path command as
Router1(config-archive)#path tftp://
Rate if it helps
dhananjoy
07-01-2008 02:08 AM
Hi,
Massimiliano is right and the link can help more. below is how the config will look like.
Router(config)# kron policy-list backuptest
Router(config-kron-policy)# cli copy running-config tftp:10.1.1.1 (may need some changes)
Router(config-kron-policy)# exit
Router(config)# kron occurrence backup at 22:00 Mon recurring
Router(config-kron-occurrence)# policy-list backuptest
Hope this helps.
Regards,
Pravin
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: