Automate switch/router configuration backup

Unanswered Question
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)

Hi All

Ok, replying to my own post, but I have googled and found the "Kiwi Cat Tools" application.

Thsi allows me to pull the configuration of the Cisco Routers and Switches.

However I would still be interested in finding out if it is possible to have a Router/Switch ftp/tftp/scp its running or startup configuration to a server rather than having to pull the config off of the Router/Switch.

Best Regards,


Joseph W. Doherty Tue, 02/12/2008 - 05:01
User Badges:
  • Super Bronze, 10000 points or more

I believe recent IOSs, at least on routers, have some embedded scripting capability (TCL?). If something like a CRON is supported, it might be possible to have the device backup itself. However, no first hand experience, so don't know whether this is possible.

agonza07 Wed, 02/13/2008 - 16:48
User Badges:

Never really tried this but worth a look at:

Configuring the Configuration Archive

Looks like you can set the path to a tftp and then set the time to backup your config by minutes (1-525600) [1min - 365 days]

Configuration Archive

The Cisco IOS configuration archive is intended to provide a mechanism to store, organize, and manage an archive of Cisco IOS configuration files in order to enhance the configuration rollback capability provided by the configure replace command. Before this feature was introduced, you could save copies of the running configuration using the copy running-config destination-url command, storing the replacement file either locally or remotely. However, this method lacked any automated file management. On the other hand, the Configuration Replacement and Configuration Rollback feature provides the capability to automatically save copies of the running configuration to the Cisco IOS configuration archive. These archived files serve as checkpoint configuration references and can be used by the configure replace command to revert to previous configuration states.

The archive config command allows you to save Cisco IOS configurations in the configuration archive using a standard location and filename prefix that is automatically appended with an incremental version number (and optional timestamp) as each consecutive file is saved. This functionality provides a means for consistent identification of saved Cisco IOS configuration files. You can specify how many versions of the running configuration will be kept in the archive. After the maximum number of files has been saved in the archive, the oldest file will be automatically deleted when the next, most recent file is saved. The show archive command displays information for all configuration files saved in the Cisco IOS configuration archive.


This Discussion