Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Backup Config switches

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
Hall of Fame Super Gold

conf tarchive  path tftp://

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

43
Views
0
Helpful
1
Replies
CreatePlease to create content