cisco6509 CatOS 轉換為Native IOS實際過程
引擎: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用戶名和密碼。執(zhí)行:
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
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
auto-config: non-recurring, overwrite, sync 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查看環(huán)境變量。
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
!!!!!!!!!!!!!!!!!!!!
[1] [2] 下一頁
文章錄入:csh 責任編輯:csh
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.
上述啟動信息部分省略,完全啟動至整個線路卡識別狀態(tài)為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文件。此次轉換過程中發(fā)現可以寫入,所以沒重新格式化閃存卡,也省去了再傳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 狀態(tài),而主引擎處于hot standby狀態(tài)。等主引擎完全啟動后,可將備份引擎插拔一次,這樣將恢復成主為active 備為hot standby。
該版本下redundancy模式為SSO模式,因此在插拔任何一塊引擎情況下,ping包沒有丟失
上一頁 [1] [2]
文章錄入:csh 責任編輯:csh