扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
引擎:WS-SUP720-3B 主备各一块
线路卡:WS-X6148X2-45AF 五块。
Cisco CompactFlash Memory Card, 128 MB 2块。
该设备原为cisco ios模式,但因当时IOS不支持WS-X6148X2-45AF 线路卡所以采用CatOS模式以支持上述线路卡,后思科推出支持的IOS版本s72033-advipservicesk9_wan-mz.122-18.SXF.bin,客户要求再次改为IOS版本。此两块 CompactFlash Memory Card曾在原IOS模式下格式化过,在此次升级过程中两种模式下(catos和IOS)竟都能写入。以下为升级过程:
1。首先将备份引擎拔下(支持热插拔),在catOS下将IOS映象文件拷入CompactFlash Memory Card 中。因IOS大小为70多兆所以用TFTP无法传也不可靠,所以用FTP传输,输入set ftp username;set ftp password 设置好调用的FTP用户名和密码。执行:
SWITCH_1> (enable) copy ftp disk0:
P address or name of remote host <172.21.239.40>?
Username for ftp?
Password for User ftp<>:
Name of file to copy from ? s72033-advipservicesk9_wan-mz.122-18.SXF.bin
127893504 bytes available on device disk0, proceed (y/n) ? y
Loading s72033-advipservicesk9_wan-mz.122-18.SXF.bin
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File disk0:s72033-advipservicesk9_wan-mz.122-18.SXF.bin checksum verified and is Ok.
File has been copied successfully.
SWITCH_1> (enable) dir disk0:
-rw- 76599844 Sep 17 2005 09:52:11 s72033-advipservicesk9_wan-mz.122-18.SXF.bin
51290112 bytes available (76603392 bytes used)
2。查看当前交换机启动变量。寄存器值为0x2102,下一步将修改此值为0x0
SWITCH_1> (enable) sh boot
BOOT variable = bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
CONFIG_FILE variable = bootflash:switch.cfg
Configuration register is 0x2102
ignore-config: disabled
auto-config: non-recurring, overwrite, sync disabled
ROMMON console baud: 9600
boot: image specified by the boot system commands
Image auto sync is enabled
Image auto sync timer is 120 seconds
3.修改寄存器值为0x0
SWITCH_1> (enable) set boot config-register 0x0
Configuration register is 0x0
ignore-config: disabled
ROMMON console baud: 9600
boot: the ROM monitor
4。确认此值已修改,并reset。
SWITCH_1> (enable) sh boot
BOOT variable = bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
CONFIG_FILE variable = bootflash:switch.cfg
Configuration register is 0x0
ignore-config: disabled
auto-config: non-recurring, overwrite, sync disabled
ROMMON console baud: 9600
boot: the ROM monitor
Image auto sync is enabled
Image auto sync timer is 120 seconds
SWITCH_1> (enable) reset
5。系统重启进入ROMMON模式。输入SET查看环境变量。
System Bootstrap, Version 8.1(3)
Copyright (c) 1994-2004 by cisco Systems, Inc.
Cat6k-Sup720/SPprocessor with 524288 Kbytes of main memory
rommon 1 >
rommon 2 >set
PS1=rommon ! >
LOG_PREFIX_VERSION=1
SLOTCACHE=cards;
BSI=0
ACL_DENY=0
PF_REDUN_CRASH_COUNT=0
RET_2_RTS=00:28:49 PDT Thu Jul 14 2005
RET_2_RCALTS=1121326129
CONFIG_FILE=bootflash:switch.cfg
BOOT=bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
PROFILE_FILE=
=0
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者