Configuring Cisco IOS to automatically save the running configuration to a tftp server on save

Cisco IOS has the ability to save it’s configuration when you run the write memory command.  Here is how:
enable
configure terminal
archive
path tftp://192.168.0.2/sw2960/sw2960.cfg
write-memory
exit
exit

In this example, we’ve configured the switch to save to the configuration file to the sw2960 sub-directory of a ttp server.

To test the setup, run the “write memory” command.
enable
write memory

Looking on the tftp server, we see a configuration file was uploaded:

cd /tftpboot
find .
./sw2960/sw2960.cfgDec-17-02-43-26.106-0

Leave a Comment


*


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site