How to Backup Configuration to TFTP

25 Mar 2011 - Lab-Rat

Many times in CCIE lab preparation (and production, of course) you have to backup and restore configurations to routers and switches. It’s easy- here’s the commands.

Backup the Configuration Using TFTP

From privileged (enable) mode:
R1# copy running-config tftp:
Address or name of remote host []? 192.168.1.5
Destination filename [R1-confg]? my_backup
!!
1200 bytes copied in 2.987 secs (507 bytes/sec)

Note: Cisco says you should check the configuration file with a text editor and remove any line with “AAA” to prevent lock outs.

Restore the Configuration Using TFTP

R1#copy tftp: running-config
Address or name of remote host []? 192.168.1.5
Source filename []? my_backup
Destination filename [running-config]?
Accessing tftp://192.168.1.5/my_backup…
Loading my_backup from 192.168.1.5 (via FastEthernet0/0): !
[OK - 1200 bytes]

Additional Reading:
Cisco Backup and Restore Configuration Guide