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 []?
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 []?
Source filename []? my_backup
Destination filename [running-config]?
Accessing tftp://…
Loading my_backup from (via FastEthernet0/0): !
[OK - 1200 bytes]

Additional Reading:
Cisco Backup and Restore Configuration Guide