思科路由器系列软件安装与升级步骤(下)
10-15 21:47:25
来源:http://www.qz26.com 网络基础知识 阅读:8973次
导读:对于RCP应用程序,将出现的每一个TFTP都替换为RCP。例如,使用copy rcp {device:} 命令代替 copy tftp {device:} 命令。假如有必要,您可以将镜像从一个 设备复制 到另一个设备。3600#copy tftp: slot1:Address or name of remote host []? 171.68.173.10Source filename []? c3640-i-mz.122-7b.binDestination 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
思科路由器系列软件安装与升级步骤(下),标签:网络基础,计算机网络基础知识,http://www.qz26.com
对于RCP应用程序,将出现的每一个TFTP都替换为RCP。例如,使用copy rcp {device:} 命令代替 copy tftp {device:} 命令。
假如有必要,您可以将镜像从一个 设备复制 到另一个设备。
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。
假如您的配置中有 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 命令检验该命令是否已经去除。
对于RCP应用程序,将出现的每一个TFTP都替换为RCP。例如,使用copy rcp {device:} 命令代替 copy tftp {device:} 命令。
假如有必要,您可以将镜像从一个 设备复制 到另一个设备。
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。
假如您的配置中有 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 命令检验该命令是否已经去除。
Tag:网络基础知识,网络基础,计算机网络基础知识,电脑培训学习 - 网络知识 - 网络基础知识
下一条:智能路由控制改进BGP