|Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору|
Use a TFTP Server to Backup and Restore a Configuration
This is a step-by-step approach to copy a configuration from a router to a TFTP server, and back to another router. Before you proceed with this method, make sure you have a TFTP server on the network to which you have IP connectivity.
1. 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.
2. Copy the running configuration file to the TFTP server:
3. CE_2#copy running-config tftp:
4. Address or name of remote host ? 184.108.40.206
5. Destination filename [ce_2-confg]? backup_cfg_for_my_router
7. 1030 bytes copied in 2.489 secs (395 bytes/sec)
8. 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.
9. Copy the configuration file from the TFTP server to a new router in privileged (enable) mode which has a basic configuration.
10. Router#copy tftp: running-config
11. Address or name of remote host ? 220.127.116.11
12. Source filename ? backup_cfg_for_my_router
13. Destination filename [running-config]?
14. Accessing tftp://10.66.64.10/backup_cfg_for_my_router...
15. Loading backup_cfg_for_router from 18.104.22.168 (via FastEthernet0/0): !
16. [OK - 1030 bytes]
18. 1030 bytes copied in 9.612 secs (107 bytes/sec)