类别:CISCO / 日期:2019-10-09 / 浏览:996 / 评论:0
保存的备份文件可以上传到路由器的FLASH中保存,以利于恢复设备。
r1721#copy tftp flash: //注意有个冒号
Address or name of remote host []? 192.168.100.118 //tftp服务器的地址
Source filename []? r1721-adsl.cfg //输入文件名
Destination filename [r1721-adsl.cfg]? //回车
Accessing tftp://192.168.100.118/r1721-adsl.cfg...
Erase flash: before copying? [confirm]n //这里一定要输入n,不然会全部格式化flash!!!
Loading r1721-adsl.cfg from 192.168.100.118 (via Vlan1): !
[OK - 2165 bytes]
Verifying checksum... OK (0x62EF)
2165 bytes copied in 0.248 secs (8730 bytes/sec)
r1721#show flash //检查
System flash directory:
File Length Name/status
1 21026176 c1700-advipservicesk9-mz.124-25d.bin
2 1880 r1721-jingtaiIP.cfg
3 2165 r1721-adsl.cfg
[21030416 bytes used, 12524012 available, 33554428 total]
32768K bytes of processor board System flash (Read/Write)
如果需要还原之前的,可以这样:
r1721#copy flash: running-config
Source filename []? r1721-jingtaiIP.cfg
Destination filename [running-config]? //直接回车即可