Backup Config switches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2014 02:14 AM
Hi All,
We would like to backup the config on our cisco switches by accessing the flash with tftp:
Is it possible to launch a tftp get from a tftp server in order to retrieve the configuration on a Cisco switch.
We are able to put the configuration on the tftp server, when launching the command copy ru tftp on the switch itself.
We however would like to trigger the tftp process from a tftp server, not on the switch itself. Is that possible?
Thank you,
Best Regards,
Joris
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2014 03:05 AM
The script below does two things:
1. Whenever someone saves the config, a copy of the new configuration is saved into the TFTP server;
2. If no one saves the config for <MINUTES>, a copy of the current startup-config is sent to the TFTP server.
Try the following stuff below.
conf t
archive
path tftp://<IP Address>/Subdirectory/$h-
time-period <MINUTES>
write-memory
end
