分类: 系统运维
2005-03-17 18:54:09
3600#copy tftp: slot1:
Address or name of remote host []? 171.68.173.10
Source filename []? c3640-i-mz.122-7b.bin
Destination filename [c3640-i-mz.122-7b.bin]?
Accessing tftp://171.68.173.10/c3640-i-mz.122-7b.bin...
Erase slot1: before copying? [confirm]n !--- 您在此规定"n" ,因为没有足够的可用内存。
Loading c3640-i-mz.122-7b.bin from 171.68.173.10 (via Ethernet1/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!
[OK - 5996844/11993088 bytes]
Verifying checksum... OK (0x13F0)
5996844 bytes copied in 67.708 secs (89505 bytes/sec)
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。