cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
494
Views
0
Helpful
1
Replies

Backup Config switches

Joris Deprouw
Level 1
Level 1

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

 

1 Reply 1

Leo Laohoo
Hall of Fame
Hall of Fame

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

Review Cisco Networking for a $25 gift card