!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!
[OK - 5996844/11993088 bytes]
Verifying checksum... OK (0x13F0)
5996844 bytes copied in 67.708 secs (89505 bytes/sec)
3600#更多的请看:http://www.qqread.com/windows/2003/index.html
请使用 dir slot1: 命令来检查镜像是否已复制入slot1 。在下文中你可以看见新的镜像 c3640-i-mz.122-7b.bin 已经复制入PCMCIA slot1:中
3600#dir slot1:
Directory of slot1:/
2 -rw- 3748760 c3640-i-mz.120-22.bin
3 -rw- 5996844 c3640-i-mz.122-7b.bin
步骤 5:将引导说明设定为开启时加载新镜像
经由TFTP复制好镜像之后,您可能需要通知路由器启动时加载什么镜像 。
检查当前引导说明
此时,新的镜像正在slot1中 。您需要设定路由器以新的镜像进行启动 。默认设置是,路由器以首个可用镜像进行启动(当配置中没有引导说明时,将启用默认值) 。
3600#show running-config
Building configuration...
Current configuration:
!
version 12.0
ervice timestamps debug uptime
ervice timestamps log uptime
o service password-encryption
!
hostname 3600
!
oot system flash slot1:c3640-i-mz.120-22.bin
!
ip subnet-zero
!
以下命令出现在配置的开头 。在我们上文的实例中,显示路由器boot system命令配置为 boot system flash slot1:c3640-i-mz.120-22.bin 。
假如您的配置中有 boot system 命令条目,您需要从配置中将它们去除 。有关去除boot条目的详情,请参阅 下节 。
去除先前的引导说明
假如要去除这些命令,请进入配置终端模式 。在配置模式中,您在每个引导说明前键入“no”来取消所有命令 。下例说明如何去除当前引导说明 。
3600#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
3600(config)#no boot system flash slot1:c3640-i-mz.120-22.bin
3600(config)#^Z
3600#
“no boot system flash slot1:c3640-i-mz.120-22.bin" ”说明从配置中去除 。请通过发出 show running-config 命令检验该命令是否已经去除 。
设定新的引导说明
现在设定路由器以新的镜像进行启动 。请发出以下命令来设定boot system参数:
oot system flash slot#:{imagename} (imagename = name of the new Cisco IOS software image)
3600#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
3600(config)#boot system flash slot1:c3640-i-mz.122-7b.bin
3600(config)#^Z
3600#write memory
3d01h: %SYS-5-CONFIG_I: Configured from console by vty0
Building configuration...
3600#
通过发出show version命令来检验是否正在使用 config-register 0x2102。假如是不同的设定,您可以通过在配置模式中发出以下命令进行改变:
3600#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
3600(config)#config-register 0x2102
3600(config)#^Z
改变了config - register之后,将在下一次重新加载时变化起作用 。
更多的请看:http://www.qqread.com/windows/2003/index.html
步骤6:重新启动路由器以加载新镜像
为使路由器运行新的Cisco IOS软件镜像,您需要重新加载路由器 。请确保您已发出 copy running-config starting-config 命令或者 write memory 命令来保存配置 。
推荐阅读
- 路由器以太网口配置命令
- [华为]路由器PPP、SLIP和MP配置命令
- 路由器CE1/PRI接口配置命令
- [华为]路由器配置文件管理命令
- [华为]路由器串口配置命令
- [华为]路由器IP性能配置命令
- [华为]路由器基本的系统管理命令
- R 第十章Quidway系列路由器调试命令
- 华为路由器升级全攻略
- 华为路由器开telnet
