2024年6月11日发(作者:)
1)
2)
3)
Catalyst 6500
交换机
Native
和
Hybrid
版本互换
CaOS to CISCO IOS(即Hybrid版本转Native版本)详细步骤:
建立一个到SP(交换处理器)的CONSOLE连接,打开日志将所有操作过程记入文本。
备份当前Hybrid版本的配置文件,便于以后恢复。命令>copy config tftp
如果没有PFC和MSFC将不能运行Native版本。命令>show module确定是否存在。
Console> (enable) show mod
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
1 1 2 1000BaseX Supervisor WS-X6K-S2U-MSFC2 yes ok
15 1 1 Multilayer Switch Feature WS-F6K-MSFC2 no ok
!--- The SP in slot 1 is a Supervisor 2 in this case
!--- with an RP or MSFC 2.
3 3 48 10/100BaseTX Ethernet WS-X6548-RJ-45 no ok
5 5 0 Switch Fabric Module 2 WS-X6500-SFM2 no ok
Mod Module-Name Serial-Num
--- -------------------- -----------
1 SAD060302XM
15 SAD060102KP
3 SAL0701B2S0
5 SAD061506MD
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ---------- -----------------
1 00-01-c9-da-ee-d2 to 00-01-c9-da-ee-d3 3.5 7.1(1) 8.1(1)
!--- This is the current CatOS software version running on the SP.
00-01-c9-da-ee-d0 to 00-01-c9-da-ee-d1
00-04-9b-bd-c0-00 to 00-04-9b-bd-c3-ff
15 00-08-7c-a1-cf-80 to 00-08-7c-a1-cf-bf 1.3 12.1(19)E1 12.1(19)E1a
!--- This is the current Cisco IOS software version running on the RP.
3 00-09-11-f3-88-48 to 00-09-11-f3-88-77 5.1 6.3(1) 8.1(1)
5 00-01-00-02-00-03 1.2 6.1(3) 8.1(1)
Mod Sub-Type Sub-Model Sub-Serial Sub-Hw Sub-Sw
--- ----------------------- ------------------- ----------- ------ ------
1 L3 Switching Engine II WS-F6K-PFC2 SAD054104B3 3.0
!--- A PFC 2 is installed in the switch in this case.
Console> (enable)
命令>dir bootflash:和>dir slot0:确定Native版本文件的位置;如果文件存在跳到第6步,不存
在继续下一步。
Console> (enable) dir bootflash:
-#- -length- -----date/time------ name
1 8040396 Oct 30 2003 23:17:13
4)
!--- This is the SP bootflash and the location for the current
!--- CatOS software version running on the SP.
23941044 bytes available (8040524 bytes used)
Console> (enable)
Console> (enable) dir slot0:
-#- -length- -----date/time------ name
1 19769600 Oct 31 2003 00:39:30 c6sup22-js-mz.121-19.E1a
!--- This is the PCMCIA or FLASH PC device called slot0:
!--- This is the Cisco IOS (Native) image version that will be used for this conversion.
5)
5002880 bytes available (19769728 bytes used)
Console> (enable)
复制Native版本image文件到bootflash和flash卡上。命令>copy tftp bootflash:和>copy tftp
slot0:,然后确认是image文件是否存在。
Console> (enable) copy tftp slot0:
IP address or name of remote host []? 10.1.1.2
Name of file to copy from []? c6sup22-js-mz.121-19.E1a
24772480 bytes available on device slot0, proceed (y/n) [n]? y
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
File has been copied successfully.
Console> (enable)
!--- Verify the image location.
Console> (enable) dir slot0:
-#- -length- -----date/time------ name
1 19769600 Oct 31 2003 21:37:39 c6sup22-js-mz.121-19.E1a
5002880 bytes available (19769728 bytes used)
Console> (enable)
命令>switch console或>session module切换到RP(路由处理器)
Console> (enable) switch console
第1页 / 共10页
6)
Connected to Router-15.
Type ^C^C^C to
Router>
Catalyst 6500
交换机
Native
和
Hybrid
版本互换
!--- Type enable to go into the privileged exec mode.
7)
Router>enable
Router#
命令>dir bootflash:验证bootimage文件是否在MSFC的bootflash中,如果存在跳到第9步,不
存在继续下一步。
Router#dir bootflash:
Directory of bootflash:/
1 -rw- 1820676 Aug 20 2003 18:13:11 c6msfc2-boot-mz.121-19.E1a
15204352 bytes total (13383548 bytes free)
复制Navive 版本bootimage文件到MSFC的bootflash中。命令>copy tftp bootflash:,然后确认
bootimage文件是否存在。
Router#copy tftp bootflash:
Address or name of remote host []? 10.1.1.2
Source filename []? c6msfc2-boot-mz.121-19.E1a
Destination filename [c6msfc2-boot-mz.121-19.E1a]?
Accessing tftp://10.1.1.2/c6msfc2-boot-mz.
Loading c6msfc2-boot-mz.121-19.E1a from 10.1.1.2 (via Vlan1): !!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!
[OK - 1820676 bytes]
1820676 bytes copied in 18.800 secs (96844 bytes/sec)
Verifying compressed IOS
Verified compressed IOS image checksum for
bootflash:/c6msfc2-boot-mz.121-19.E1a
!--- Verify the image location.
Router#dir bootflash:
Directory of bootflash:/
1 -rw- 1820676 Nov 01 2003 00:37:41 c6msfc2-boot-mz.121-19.E1a
15204352 bytes total (13383548 bytes free)
Router#
验证BOOTLDR变量值是否设定正确。如果指定正确跳到11步,不正确继续下一点。命令>show
boot验证。
Router#show boot
BOOT variable = sup-slot0:c6msfc2-jsv-mz.121-19.E1a,1
CONFIG_FILE variable =
BOOTLDR variable = bootflash:c6msfc2-boot-mz.121-19.E1a
8)
9)
!--- A bootldr variable statement is set correctly for the MSFC 2.
Configuration register is 0x2102
!--- The configuration register is set correctly for the MSFC 2.
Router#
10) 查看bootimage文件位置,命令>dir bootflash:,设置BOOTLDR变量的值,命令>conf t进入配
置模式、命令>boot bootldr bootflash:filename、改变寄存器值>config-register 0x0,下次启动进
入rommon模式。然后保存保存>wr mem。再查看BOOTLDR变量值是否设置正确。>show boot
!--- Verify the boot image name.
Router#dir bootflash:
Directory of bootflash:/
1 -rw- 1820676 Nov 01 2003 00:37:41 c6msfc2-boot-mz.121-19.E1a
15204352 bytes total (13383548 bytes free)
Router#
!--- Set the bootldr variable.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#boot bootldr bootflash:c6msfc2-boot-mz.121-19.E1a
Router(config)#end
Router#
!--- Set the configuration register.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-register 0x2102
Router(config)#end
Router#
!--- Saving the changes.
Router#write mem
[OK]
!--- Verify the bootldr variable and configuration register settings.
Router#show boot
BOOT variable = sup-slot0:c6msfc2-jsv-mz.121-19.E1a,1
第2页 / 共10页


发布评论