KB ID 0000538 Dtd 25/11/11
It’s been a long time since I ran through setting up a TFTP server, but I still use 3CDeamon. Below I’ll run though the simple commands to back up, and restore the routers configuration.
Backing up a Cisco Router
Note: You can also use startup-config to copy the config saved in NVRAM rather than the running-config.
User Access Verification Username: username Password: PeteRouter#enable PeteRouter#copy running-config tftp Address or name of remote host ? 10.10.0.1 Destination filename [PeteRouter-confg]? PeteRouter_Backup !! 7400 bytes copied in 0.548 secs (13504 bytes/sec) PeteRouter#
Restoring a Cisco Router
1. As above have your TFTP server up and running with the file you want to restore in its root directory.
Note: You can also use startup-config to restore the config saved in NVRAM rather than the running-config.
User Access Verification Username: username Password: PeteRouter#enable PeteRouter#copy tftp running-config Address or name of remote host ? 10.10.0.1 Source filename ? PeteRouter_Backup Destination filename [running-config]? Accessing tftp://10.10.0.1/PeteRouter_Backup... Loading PeteRouter_Backup from 10.10.0.1 (via GigabitEthernet0/0): ! [OK - 7400 bytes] 7400 bytes copied in 0.440 secs (16818 bytes/sec) PeteRouter#
4. Remember you have restored the running-config you would need to issue a “copy run start” command to make this config persistent (i.e. after a restart or reload of the router). If you issued a “copy tftp startup-config”, you would need to reboot for the restored config to be loaded into memory.