分享
 
 
 

cisco6509 CatOS转为Native IOS过程实录

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

引擎: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:

IP 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:

2 -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

oot: 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

auto-config: non-recurring, overwrite, sync disabled

ROMMON console baud: 9600

oot: 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

oot: 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/SP processor 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

6.输入CONFIG_FILE=将该变量值清空。输入sync写入到NVRAM中,再reset,系统重启进入ROMMON模式。

rommon 3> CONFIG_FILE=

rommon 4> 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

BOOT=bootflash:cat6000-sup720cvk8.8-4-3.bin,1;

PROFILE_FILE=

?=0

CONFIG_FILE=

rommon 5> SYSNC

monitor: command "SYSNC" not found

rommon 6> sync

rommon 7 > reset

System Bootstrap, Version 8.1(3)

Copyright (c) 1994-2004 by cisco Systems, Inc.

Cat6k-Sup720/SP processor with 524288 Kbytes of main memory

rommon 1 > dir disk0:

Directory of disk0:

2 76599844 -rw- s72033-advipservicesk9_wan-mz.122-18.SXF.bin

Disk0中存在我们将要用以启动的IOS映象。

7.启动IOS映象文件。

rommon 2 > boot disk0:s72033-advipservicesk9_wan-mz.122-18.SXF.bin

Loading image, please wait ...

Self extracting the image...

Self decompressing the image : ################################################################################

#################

以下启动过程略

System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 2004 by cisco Systems, Inc.

Cat6k-Sup720/RP platform with 524288 Kbytes of main memory

Download Start

!!!!!!!!!!!!!!!!!!!!

cisco WS-C6509-E (R7000) processor (revision 1.1) with 458720K/65536K bytes of memory.

Processor board ID SMG0922N0VW

SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache

Last reset from power-on

SuperLAT software (copyright 1990 by Meridian Technology Corp).

X.25 software, Version 3.0.0.

Bridging software.

TN3270 Emulation software.

1 Virtual Ethernet/IEEE 802.3 interface

480 FastEthernet/IEEE 802.3 interfaces

2 Gigabit Ethernet/IEEE 802.3 interfaces

1917K bytes of non-volatile configuration memory.

8192K bytes of packet buffer memory.

上述启动信息部分省略,完全启动至整个线路卡识别状态为OK,大约用了十多分钟。

Router#s mod

Mod Ports Card Type Model Serial No.

--- ----- -------------------------------------- ------------------ -----------

1 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD091506P4

2 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD09110B0U

3 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD091605JK

4 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD09110B3G

6 2 Supervisor Engine 720 (Active) WS-SUP720-3B SAD092303GG

7 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD091307AL

Mod MAC addresses Hw Fw Sw Status

--- ---------------------------------- ------ ------------ ------------ -------

1 0012.80f1.7648 to 0012.80f1.76a7 1.1 8.2(2) 8.5(0.46)RFW Ok

2 0012.8005.f3de to 0012.8005.f43d 1.1 8.2(2) 8.5(0.46)RFW Ok

3 0013.60b2.66cc to 0013.60b2.672b 1.1 8.2(2) 8.5(0.46)RFW Ok

4 0012.8006.0848 to 0012.8006.08a7 1.1 8.2(2) 8.5(0.46)RFW Ok

6 0011.5cab.6858 to 0011.5cab.685b 4.4 8.1(3) 12.2(18)SXF Ok

7 0012.8006.26f8 to 0012.8006.2757 1.1 8.2(2) 8.5(0.46)RFW Ok

8.检查转换后运行的IOS版本,正确无误。

Router#sh ver

Cisco Internetwork Operating System Software

IOS (tm) s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Sat 10-Sep-05 01:18 by ccai

Image text-base: 0x40101040, data-base: 0x42D60000

ROM: System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1)

BOOTLDR: s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF, RELEASE SOFTWARE (fc1)

9.用IOS格式格式化sup-bootflash

Router#format sup-bootflash:

Format operation may take a while. Continue?

Format operation will destroy all data in "sup-bootflash:". Continue?

Format of sup-bootflash complete

Router#dir sup-bootflash:

Directory of sup-bootflash:/

No files in directory

65536000 bytes total (65536000 bytes free)

10.该步为可选步骤,用来验证闪存卡是否可写入,若能写入则不用再格化。可用较小的IOS文件用TFTP协议往disk0写入IOS文件。此次转换过程中发现可以写入,所以没重新格式化闪存卡,也省去了再传IOS的步骤。

11.修改启动参数。下次启动交换机时直接用disk0中的IOS映象启动。保存

Router(config)#boot system flash disk0:s72033-advipservicesk9_wan-mz.122-18.SXF.bin

Router(config)#

Router#wr m

Building configuration...

12.显示交换处理器的寄存器值,因在catos模式下我们修改交换处理器的寄存值为0x0,所以最后还要将其修改回0x2102.

Router#remote command switch show boot

BOOT variable = bootflash:cat6000-sup720cvk8.8-4-3.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x0

Router(config)#config-register 0x2102

Router(config)#

Router#wr m

Building configuration...

Router#remote command switch show boot

BOOT variable = disk0:s72033-advipservicesk9_wan-mz.122-18.SXF.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x0 (will be 0x2102 at next reload)

Router#reload

至此主引擎转换完毕。关闭电源,将拔出主引擎,插入备份引擎,重复上述将其转换。备份引擎转换成功后,可直接将主引擎插入。此时备份引擎处于active 状态,而主引擎处于hot standby状态。等主引擎完全启动后,可将备份引擎插拔一次,这样将恢复成主为active 备为hot standby。

该版本下redundancy模式为SSO模式,因此在插拔任何一块引擎情况下,ping包没有丢失。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有