3600#
请使用 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
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3600
!
boot 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