您的位置:首页 > 移动开发 > IOS开发

二、配置文件及IOS的备份

2011-02-27 13:25 344 查看

1. 实验拓扑





2. 实验步骤

2.1 配置文件的备份

配置文件备份常见有两种方法:一是直接使用show run,然后复制;另下面一种是要讲的
routerA#ping 192.168.1.2 //保证路由器与tftp连通
routerA#copy running-config tftp //复制
Address or name of remote host []? 192.168.1.2
Destination filename [routerA-confg]?

Writing running-config...!!
[OK - 552 bytes]

552 bytes copied in 0.159 secs (3000 bytes/sec)

2.2 IOS的备份

routerA#show flash //首先查看IOS的文件名,下面复制时需使用

System flash directory:
File Length Name/status
3 50938004 c2800nm-advipservicesk9-mz.124-15.T1.bin
2 28282 sigdef-category.xml
1 227537 sigdef-default.xml
[51193823 bytes used, 12822561 available, 64016384 total]
63488K bytes of processor board System flash (Read/Write)

routerA#copy flash: tftp:
Source filename []? c2800nm-advipservicesk9-mz.124-15.T1.bin
Address or name of remote host []? 192.168.1.2 //tftp
Destination filename [c2800nm-advipservicesk9-mz.124-15.T1.bin]?

Writing c2800nm-advipservicesk9-mz.124-15.T1.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 50938004 bytes]

50938004 bytes copied in 57.562 secs (884000 bytes/sec)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息