Because TFTP is a dick.

Use an FTP Server to Backup and Restore a Configuration

In this procedure, an FTP server can be used in place of a TFTP server.

At the Router> prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

Configure the FTP username and password.

CE_2#config terminal
CE_2(config)#ip ftp username cisco
CE_2(config)#ip ftp password cisco123
Copy the configuration to the FTP server.

CE_2#copy running-config ftp:
Address or name of remote host []?
Destination filename [ce_2-confg]? backup_cfg_for_router
Writing backup_cfg_for_router !
1030 bytes copied in 3.341 secs (308 bytes/sec)
Open the configuration file with a text editor. Search for and remove any line that starts with “AAA”.

Note: This step is to remove any security commands that can lock you out of the router.

Copy the configuration file from the FTP server to a router in privileged (enable) mode which has a basic configuration.

Router#copy ftp: running-config
Address or name of remote host []?
Source filename [backup_cfg_for_router]?
Destination filename [running-config]?
Loading backup_cfg_for_router !
[OK – 1030/4096 bytes]
1030 bytes copied in 13.213 secs (78 bytes/sec)

Leave a comment

Your email address will not be published. Required fields are marked *

CAPTCHA ImageChange Image