本產品的文件集力求使用無偏見用語。針對本文件集的目的,無偏見係定義為未根據年齡、身心障礙、性別、種族身分、民族身分、性別傾向、社會經濟地位及交織性表示歧視的用語。由於本產品軟體使用者介面中硬式編碼的語言、根據 RFP 文件使用的語言,或引用第三方產品的語言,因此本文件中可能會出現例外狀況。深入瞭解思科如何使用包容性用語。
思科已使用電腦和人工技術翻譯本文件,讓全世界的使用者能夠以自己的語言理解支援內容。請注意,即使是最佳機器翻譯,也不如專業譯者翻譯的內容準確。Cisco Systems, Inc. 對這些翻譯的準確度概不負責,並建議一律查看原始英文文件(提供連結)。
本檔案介紹升級Catalyst 6000/6500系列交換器上軟體映像的逐步程式。
嘗試此組態設定之前,請確保您符合以下需求:
驗證記憶體和啟動ROM要求。
下載有效的軟體映像。
在PC上安裝TFTP伺服器。
備份當前交換機配置和軟體映像。
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
請參閱思科技術提示慣例以瞭解更多有關文件慣例的資訊。
本檔案介紹在Supervisor上執行Catalyst作業系統(CatOS)的Catalyst 6000/6500系列交換器、在MSM/MSFC上執行Cisco IOS®和Cisco IOS系統軟體上升級軟體映像的逐步程式。在下列情況下,必須升級軟體映像:
您希望在網路中實施新軟體版本中可用的新功能。
您想安裝交換機上運行的當前軟體版本不支援的新線卡。
已知錯誤會影響交換器,該錯誤會在下一個軟體版本中解決。
Supervisor上使用CatOS,MSFC上則使用Cisco IOS(混合):
您可以使用CatOS映像作為系統軟體,在Catalyst 6500/6000交換器上執行Supervisor。如果安裝了選用型多層交換器功能卡(MSFC),請使用單獨的Cisco IOS映像來執行MSFC。
Supervisor和MSFC上皆使用Cisco IOS(原生):
您可以使用單一的Cisco IOS映像作為系統軟體,以便在Catalyst 6500/6000交換器上執行Supervisor和MSFC。
附註:如需詳細資訊,請參閱Cisco Catalyst 6500系列交換器。
驗證新軟體版本所需的最小DRAM、快閃記憶體和Boot ROM版本。檢查您的交換機是否支援這些要求。請參閱Catalyst 6000/6500系列交換器的版本說明,驗證新軟體映像的要求。
其 show version
命令顯示BootROM版本、安裝的DRAM以及交換機上的bootflash大小。發出 show version
執行CatOS的Catalyst 6000/6500交換器上的命令。
Cat6509> (enable) show version WS-C6509 Software, Version NmpSW: 5.5(5) Copyright (c) 1995-2000 by Cisco Systems NMP S/W compiled on Dec 14 2000, 17:05:38 System Bootstrap Version: 5.3(1) !--- This is the boot ROM version that runs on your switch. Hardware Version: 3.0 Model: WS-C6509 Serial #: TBA05131085 Mod Port Model Serial # Versions --- ---- ------------------- ----------- -------------------------------------- 1 2 WS-X6K-SUP1A-2GE SAD05060PU7 Hw : 7.0 Fw : 5.3(1) Fw1: 5.4(2) Sw : 5.5(5) Sw1: 5.5(5) WS-F6K-PFC SAD05060131 Hw : 1.1 4 48 WS-X6348-RJ-45 SAD0509003M Hw : 2.0 Fw : 5.4(2) Sw : 5.5(5) WS-F6K-VPWR Hw : 1.0 15 1 WS-F6K-MSFC SAD05140AG0 Hw : 1.4 Fw : 12.1(6)E1 Sw : 12.1(6)E1 DRAM FLASH NVRAM Module Total Used Free Total Used Free Total Used Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----- 1 65408K 37654K 27754K 16384K 14984K 1400K 512K 255K 257K !--- This is the amount of DRAM and Flash size installed on the switch. Uptime is 149 days, 1 hour, 20 minutes Cat6509> (enable)
運行Cisco IOS軟體時,請檢查Supervisor和MSFC上的記憶體要求。在執行show version
Cisco IOS軟體的Catalyst 6000/6500交換器上發出命令。
Cat6500#show version Cisco Internetwork Operating System Software Cisco IOS (tm) c6sup1_rp Software (c6sup1_rp-JSV-M), Version 12.1(8b)E9, EARLY DEPLOYMENT RELEASE SOFTWARE (fc3) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sun 17-Feb-02 12:01 by eaarmas Image text-base: 0x60020950, data-base: 0x61608000 !--- This is the Boot ROM version that runs on your switch MSFC. ROM: System Bootstrap, Version 12.0(3)XE, RELEASE SOFTWARE BOOTFLASH: MSFC Software (C6MSFC-BOOT-M), Version 12.1(8b)E9, EARLY DEPLOYMENT RELEASE SOFTWARE (fc3) Cat6500 uptime is 7 minutes System returned to ROM by power-on (SP by reload) System image file is "sup-bootflash:c6sup11-jsv-mz.121-8b.E9" !--- The DRAM on the MSFC is the sum of these two values. cisco Catalyst 6000 (R5000) processor with 114688K/16384K bytes of memory. Processor board ID SAD04120BNJ R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache Last reset from power-on Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 2 Virtual Ethernet/IEEE 802.3 interface(s) 48 FastEthernet/IEEE 802.3 interface(s) 18 Gigabit Ethernet/IEEE 802.3 interface(s) 381K bytes of non-volatile configuration memory. 4096K bytes of packet SRAM memory. !--- This is the bootflash size. 16384K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x2102 Cat6500#
您也可以發出 show version
命令。您可以使用命令在路由處理器(RP)提示符下執行管理處理器 remote command switch
(SP)命令。
Cat6500#remote command switch show version Cat6500-sp# Cisco Internetwork Operating System Software Cisco IOS (tm) c6sup1_sp Software (c6sup1_sp-SPV-M), Version 12.1(8b)E9, EARLY DEPLOYMENT RELEASE SOFTWARE (fc3) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sun 17-Feb-02 12:29 by eaarmas Image text-base: 0x60020950, data-base: 0x60648000 !--- This is the boot ROM version that runs on your switch supervisor. ROM: System Bootstrap, Version 5.3(1) BOOTFLASH: c6sup1_sp Software (c6sup1_sp-SPV-M), Version 12.1(8b)E9, EARLY DEPLOYMENT RELEASE SOFTWARE (fc3) Switch uptime is 2 minutes System returned to ROM by reload System image file is "bootflash:c6sup11-jsv-mz.121-8b.E9" !--- The DRAM on the Supervisor is the sum of these two values. cisco 6000 (NMP150) processor with 49152K/16384K bytes of memory. R4700 CPU at 150Mhz, Implementation 33, Rev 1.0, 512KB L2 Cache Last reset from power-on X.25 software, Version 3.0.0. 48 FastEthernet/IEEE 802.3 interface(s) 18 Gigabit Ethernet/IEEE 802.3 interface(s) 381K bytes of non-volatile configuration memory. !--- This is the external Flash card and internal bootflash size. 24576K bytes of Flash PCMCIA card at slot 0 (Sector size 128K). 16384K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x2102 Cat6500#
如有必要,Supervisor Boot ROM版本升級是引導ROM硬體升級。您可以下載最新的載入程式軟體映像以升級MSFC Bootstrap版本。若要升級監督器模組上的開機ROM,請參閱以下檔案:
《 Catalyst 6000系列Supervisor Engine I和I A NMP Boot ROM升級安裝說明》
《 Catalyst 6000系列Supervisor Engine 2 Boot ROM和Bootflash裝置升級安裝說明》
附註:Supervisor 720當前沒有可用的引導ROM升級。
在實際映像升級之前,將CatOS軟體映像下載到充當TFTP伺服器的PC上。您可以從Cisco LAN交換軟體中心下載軟體映像。如需有關CatOS和Cisco IOS軟體的詳細資訊,請參閱CatOS和Cisco IOS系統軟體之間的差異一節。
附註:只有註冊的思科使用者才能訪問內部思科工具和資訊。
本文檔中的示例輸出使用的是在運行Microsoft ™ Windows 2000 Professional的PC上安裝Cisco TFTP伺服器。您可以使用可安裝在任何平台上的任何TFTP伺服器。您無需使用PC和Windows作業系統。
從Internet下載並安裝您用於將CatOS軟體映像複製到交換機的PC上的任何共用軟體TFTP軟體。TFTP伺服器根目錄必須是軟體映像下載到的目錄。您可以將映像下載到TFTP伺服器的預設根目錄,或者將根目錄路徑更改為軟體映像所在的目錄。對於Cisco TFTP伺服器,可以從View Menu > Options更改根目錄。
附註:當可通過軟體中心下載Cisco TFTP伺服器時,便編寫了本文檔。Cisco不再支援Cisco TFTP伺服器。如果您使用Cisco TFTP伺服器,請禁用日誌記錄功能以防止日誌過多,否則會中斷TFTP進程。
若要停用在Cisco TFTP伺服器上登入,請完成以下步驟:
選擇「檢視」選單>「選項」。
清除Enable Logging選項。
按一下「OK」(確定)。
附註:請注意,預設情況下啟用日誌記錄。
在交換機控制檯埠和PC之間連線控制檯電纜,以訪問交換機命令列介面(CLI)。 請參閱將終端機連線到Catalyst交換器上的主控台連線埠,以便透過超級終端機存取CLI。
附註:您可以通過遠端Telnet訪問升級交換機。但是,在軟體升級期間,交換器重新載入時,Telnet連線將會中斷。當交換器載入新映像時,您可以重新建立Telnet作業階段。但是,為了在發生故障時進行故障排除,您必須具有本地控制檯訪問許可權。思科建議透過主控台存取進行交換器升級。
將交換機配置和當前軟體映像備份到運行TFTP伺服器的PC。如果升級過程因記憶體不足或交換機Bootflash上沒有足夠的空間來支援新映像等原因而失敗,您始終可以使用交換機中出現的相同映像將交換機恢復為正常模式。如果由於任何原因丟失了交換機配置,您始終可以從TFTP伺服器恢復配置。有關如何管理組態檔和軟體映像的資訊,請參閱在Catalyst交換器上管理軟體映像和使用組態檔:
在執行Cisco IOS軟體的Catalyst 6000/6500交換器上,可以發出copy startup-config tftp
或copy startup-config bootflash:
指令,將組態複製或備份到TFTP伺服器或bootflash。如果修改配置,請確保發出 write memory
命令將當前配置複製到啟動配置並執行備份。您可以發出copy bootflash: tftp
命令,將目前的軟體映像從bootflash複製到TFTP伺服器。如果要將當前軟體映像從外部快閃記憶體卡複製到TFTP伺服器,您可以在Supervisor Engine 1或2上使用copy slot0: tftp
命令。在Supervisor Engine 720上使用copy disk0: tftp
或copy disk1: tftp
命令。
附註:%% Non-volatile configuration memory invalid or not present錯誤消息顯示在複製或備份配置檔案時,交換機是否發現啟動配置檔案為空。在備份配置檔案之前發出write memory或copy run start命令,以避免此錯誤。
Catalyst 6000/6500交換器Supervisor Engine 1和2支援Personal Computer Memory Card Industry Association(PCMCIA)快閃卡的一個插槽,而Supervisor Engine 720支援2個插槽。如果您在交換機上安裝了PCMCIA快閃記憶體卡,則可以選擇在bootflash或PCMCIA快閃記憶體卡上複製新的軟體映像。
此程式使用bootflash。如果使用PCMCIA快閃記憶體卡,則使用Supervisor 1或2或使用Supervisor 720時,將所有命令中的bootflash:
slot0:
詞替換為disk0: / disk1:
。
確保您驗證記憶體/引導ROM要求,在PC上安裝TFTP伺服器,並從交換機控制檯埠訪問交換機控制檯。如果您沒準備好這些設定,請參閱檢查記憶體和啟動ROM要求部分。
配置管理IP地址(sc0),並檢查交換機與安裝TFTP伺服器的PC之間的連通性。此範例場景將IP位址10.10.10.1用於交換器管理(sc0),將IP位址10.10.10.2用於TFTP伺服器。
!--- The management(sc0) IP address is configured on the switch. Cat6509> (enable) set interface sc0 1 10.10.10.1 255.255.255.0 Interface sc0 vlan set, IP address and netmask set. !--- Verify the management(sc0) IP address. Cat6509> (enable) show interface sl0: flags=51<UP,POINTOPOINT,RUNNING> slip 0.0.0.0 dest 0.0.0.0 !--- The sc0 is set in VLAN1 and
!--- the switch port that connects to the PC is in VLAN1. sl0: flags=63vlan 1 inet 10.10.10.1 netmask 255.255.255.0 broadcast 10.10.10.255 Cat6509> (enable) !--- Verify the IP connectivity between
!--- the switch and PC with the TFTP server. Cat6509> (enable) ping 10.10.10.2 !!!!! ----10.10.10.2 PING Statistics---- 5 packets transmitted, 5 packets received, 0% packet loss round-trip (ms) min/avg/max = 1/1/1 Cat6509> (enable)
確保bootflash中有足夠的可用空間,以便將新映像從TFTP伺服器複製到bootflash中。您可以在映像所在的PC上檢查新映像的大小。
Cat6509> (enable) dir bootflash: -#- -length- -----date/time------ name 1 5741220 Aug 15 2002 15:05:35 cat6000-sup2.6-3-6.bin 26240220 bytes available (5741348 bytes used) Cat6509> (enable) !--- Note that the new image size is around 10 MB
!--- and the space available on bootflash is around 26MB
!--- which is sufficient. In case of insufficient space
!--- to copy the new image, delete the current image
!--- with the delete command and squeeze the bootflash
!--- with the squeeze command in order to get enough space on bootflash.
將新軟體映像從TFTP伺服器複製到bootflash中,並確認映像是否正確複製。檢查新映像的檔案大小是否與Cisco.com上軟體中心提及的大小完全匹配。如果存在差異,請檢查影象在傳輸過程中是否損壞。再次下載映像,以確保交換機在重新載入後不會進入ROMMON模式。
附註:運行Microsoft Windows OS的PC顯示檔案大小的方式可能與實際大小不同。按一下右鍵檔名,然後選擇「屬性」以驗證實際檔案大小(以位元組為單位)。
Cat6509> (enable) copy tftp bootflash: IP address or name of remote host []? 10.10.10.2 Name of file to copy from []? cat6000-sup2cvk8.7-3-2.bin 26240092 bytes available on device bootflash, proceed (y/n) [n]? y CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC File has been copied successfully. Cat6509> (enable) Cat6509> (enable) dir bootflash: -#- -length- -----date/time------ name 1 5741220 Aug 15 2002 15:05:35 cat6000-sup2.6-3-6.bin 2 10580536 Oct 08 2002 18:25:56 cat6000-sup2cvk8.7-3-2.bin 15659556 bytes available (16322012 bytes used) Cat6509> (enable)
更改引導變數,使交換機在重置後使用新的軟體映像進行引導。
Cat6509> (enable) show boot !--- The switch originally boots with this image. BOOT variable = bootflash:cat6000-sup2.6-3-6.bin,1; CONFIG_FILE variable = Configuration register is 0x2102 ignore-config: disabled auto-config: non-recurring, overwrite, sync disabled console baud: 9600 boot: image specified by the boot system commands Cat6509> (enable) !--- Old boot variable is cleared. Cat6509> (enable) clear boot system flash bootflash:cat6000-sup2.6-3-6.bin BOOT variable = !--- New boot variable is configured. Cat6509> (enable) set boot system flash bootflash:cat6000-sup2cvk8.7-3-2.bin BOOT variable = bootflash:cat6000-sup2cvk8.7-3-2.bin,1; Cat6509> (enable) show boot BOOT variable = bootflash:cat6000-sup2cvk8.7-3-2.bin,1; CONFIG_FILE variable = slot0:switch.cfg !--- Make sure the config-register is set to 0x2102 so that the
!--- switch boots with a valid software image. You can change the
!--- config-register with the set boot config-register 0x2102
!--- command. If the boot veriable is not specifed correctly,
!--- your switch can reload in ROMMON mode. Configuration register is 0x2102 ignore-config: disabled auto-config: non-recurring, overwrite, sync disabled console baud: 9600 boot: image specified by the boot system commands Cat6509> (enable)
重置交換機,以便在重新載入期間,交換機使用新的軟體映像啟動。
Cat6509> (enable) reset This command will reset the system. Do you want to continue (y/n) [n]? y 2002 Oct 08 18:32:02 %SYS-5-SYS_RESET:System reset from Console// Powering OFF all existing linecards System Bootstrap, Version 7.1(1) Copyright (c) 1994-2001 by cisco Systems, Inc. c6k_sup2 processor with 131072 Kbytes of main memory !--- The switch boots with the new image. Autoboot executing command: "boot bootflash:cat6000-sup2cvk8.7-3-2.bin" Self decompressing the image : ###################################### ##################################################################### ##################################################################### ##################################################################### ##################################################################### ##################################################################### ##################################################################### [OK] System Power On Diagnostics DRAM Size ..........................128 MB Testing DRAM .......................Passed Verifying Text Segment .............Passed NVRAM Size .........................512 KB Level2 Cache .......................Present Level3 Cache .......................Present System Power On Diagnostics Complete Currently running ROMMON from S (Gold) region Boot image: bootflash:cat6000-sup2cvk8.7-3-2.bin Running System Diagnostics from this Supervisor (Module 1) This may take up to 2 minutes....please wait 2002 Oct 08 18:33:26 %SYS-4-NVLOG:convert_post_SAC_CiscoMIB:Block 0 converted from version 8 to 11 Cisco Systems Console Cat6509> (enable)
驗證交換器是否載入新的軟體映像。
Cat6509> (enable) show version WS-C6509 Software, Version NmpSW: 7.3(2) !--- The switch runs CatOS version 7.3(2). Copyright (c) 1995-2002 by Cisco Systems NMP S/W compiled on Aug 1 2002, 17:38:15 System Bootstrap Version: 7.1(1) System Web Interface Version: Engine Version: 5.3.4 ADP Device: Cat6000 ADP Version: 1.9 ADK: 40 Hardware Version: 2.0 Model: WS-C6509 Serial #: SCA034401HK PS1 Module: WS-CAC-1300W Serial #: ACP03470856 Mod Port Model Serial # Versions --- ---- ------------------- ----------- ---------------------------------- 1 2 WS-X6K-SUP2-2GE SAL060808K7 Hw : 3.4 Fw : 7.1(1) Fw1: 6.1(3) Sw : 7.3(2) Sw1: 7.3(2) WS-F6K-PFC2 SAL060801AG Hw : 3.0 3 48 WS-X6348-RJ-45 SAD04230FB6 Hw : 1.1 Fw : 5.3(1) Sw : 7.3(2) 5 0 WS-C6500-SFM SAD043702RP Hw : 1.0 Fw : 6.1(3) Sw : 7.3(2) DRAM FLASH NVRAM Module Total Used Free Total Used Free Total Used Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----- 1 131072K 62774K 68298K 32768K 17476K 15292K 512K 258K 254K Uptime is 0 day, 0 hour, 1 minute Cat6509> (enable)
在Supervisor引擎720上,如果使用PCMCIA快閃記憶體卡,則將此過程的所有命令中的字bootflash:
替換為disk0:
或disk1:
。
完成以下步驟即可升級軟體映像:
驗證disk0:中是否有足夠的可用空間。將新映像從TFTP伺服器複製到disk0。您可以在承載該檔案的PC上檢查新映像的大小。
Cat6509-E (enable) dir disk0: 2 -rw- 15057472 Apr 11 2006 07:28:11 cat6000-sup720k8.8-3-3.bin 49205248 bytes available (15060992 bytes used) !--- Note that the new image size is around 15 MB and space
!--- available on disk0 is around 49 MB, which is sufficient.
!--- In case there is not enough free space to copy the new image,
!--- delete the current image with the delete. command
刪除disk0中的當前映像:使用命delete disk0:cat6000-sup720k8.8-3-3.bin
令。然後發出 squeeze disk0:
命令清除裝置中的所有已刪除檔案。此步驟是可選的。
Cat6509-E (enable) delete disk0:cat6000-sup720k8.8-3-3.bin File disk0:cat6000-sup32pfc3k8.8-4-5.bin will be deleted permanently, continue (y/n) [n]? y
從TFTP伺服器將新的軟體映像複製到disk0,並驗證映像是否正確複製。檢查新映像的檔案大小是否與Cisco.com上軟體中心提及的大小完全匹配。如果存在差異,請檢查影象在傳輸過程中是否損壞。再次下載映像,以確保交換機在重新載入後不會進入ROMMON模式。
附註:此程式使用FTP伺服器,並且在映像傳輸過程中沒有問題。
Cat6509-E (enable) copy ftp disk0: IP address or name of remote host []? 10.66.64.10 Username for ftp[anonymous]? cisco Password for User cisco[]: Name of file to copy from []? cat6000-sup720k8.8-5-3.bin 64266240 bytes available on device disk0, proceed (y/n) [n]? y Loading cat6000-sup720k8.8-5-3.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!--Output Surpressed--!! [OK - 17659732 bytes copied in 61.671 secs (286354 bytes/sec) File disk0:cat6000-sup720k8.8-5-3.bin checksum verified and is Ok. File has been copied successfully.
更改引導變數,使交換機在重置後使用新的軟體映像進行引導。
Cat6509-E (enable) show boot BOOT variable = disk0:cat6000-sup720k8.8-3-3.bin,1; CONFIG_FILE variable = disk0: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 !--- The switch originally boots with the old image. Cat6509-E (enable) clear boot system flash disk0:cat6000-sup720k8.8-3-3.bin BOOT variable = !--- Old boot variable is cleared. Cat6509-E (enable) set boot system flash disk0:cat6000-sup720k8.8-5-3.bin BOOT variable = disk0:cat6000-sup720k8.8-5-3.bin,1; !--- New boot variable is configured. Cat6509-E (enable) show boot BOOT variable = disk0:cat6000-sup720k8.8-5-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
重置交換機,以便在重新載入期間,交換機使用新的軟體映像啟動。
Cat6509-E (enable) reset This command will reset the system. Do you want to continue (y/n) [n]? y 2006 Apr 11 09:29:07 %SYS-5-SYS_RESET:System reset from Console// Powering OFF all existing linecards Cat6509-E (enable) System Bootstrap, Version 8.1(3) Copyright (c) 1994-2004 by cisco Systems, Inc. Cat6k-Sup720/SP processor with 1048576 Kbytes of main memory Autoboot executing command: "boot disk0:cat6000-sup720k8.8-5-3.bin" Loading image, please wait ... Self decompressing the image : ########## !--- Output surpressed. ##### [OK] System Power On Diagnostics DRAM Size ..........................1024 MB Testing DRAM .......................Passed Verifying Text Segment .............Passed NVRAM Size .........................2048 KB Level2 Cache .......................Present Level3 Cache .......................Present System Power On Diagnostics Complete Currently running ROMMON from S (Gold) region Boot image: disk0:cat6000-sup720k8.8-5-3.bin Firmware compiled 27-Jan-06 16:09 by integ Build [100] Running System Diagnostics from this Supervisor (Module 5) This may take several minutes....please wait Cisco Systems Console Cat6509-E (enable)
驗證交換器是否載入新的軟體映像。
Cat6509-E (enable) show version WS-C6509-E Software, Version NmpSW: 8.5(3) Copyright (c) 1995-2006 by Cisco Systems NMP S/W compiled on Jan 28 2006, 17:37:02 System Bootstrap Version: 8.1(3) System Boot Image File is 'disk0:cat6000-sup720k8.8-5-3.bin' System Configuration register is 0x2102 Hardware Version: 1.0 Model: WS-C6509-E Serial #: SCA080600KT PS1 Module: WS-CAC-2500W Serial #: ART0824E17L Mod Port Model Serial # Versions --- ---- ------------------- ----------- --------------------------------- 5 2 WS-SUP720-3BXL SAL09148BCH Hw : 4.3 Fw : 8.1(3) Fw1: 8.5(3) Sw : 8.5(3) Sw1: 8.5(3) WS-F6K-PFC3BXL SAL091594QY Hw : 1.6 Sw : 15 1 WS-SUP720 SAL09148NUB Hw : 2.3 Fw : 12.2(17d)SXB11 Sw : 12.2(17d)SXB11 DRAM FLASH NVRAM Module Total Used Free Total Used Free Total Used Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----- 5 1048576K 205619K 842957K 64000K 14705K 49295K 2048K 262K 1786K Uptime is 0 day, 0 hour, 2 minutes Cat6509-E (enable)
Supervisor Engine 32具有以下功能:
通過內部Compact Flash裝置(在CLI中稱為「bootdisk」)提供256 MB bootflash
快閃記憶體插槽(disk 0
)
如需Supervisor功能的詳細資訊,請參閱Catalyst 6500系列軟體版本8.x的版本說明。
完成以下步驟即可升級軟體映像:
驗證disk0:中是否有足夠的可用空間。將新映像從TFTP伺服器複製到disk0。您可以在承載該檔案的PC上檢查新映像的大小。
Console> (enable) dir disk0: 2 -rw- 9356096 Apr 10 2006 17:50:28 cat6000-sup32pfc3k8.8-4-5.bin 245751808 bytes available (9361542 bytes used) !--- Note that the new image size is around 11 MB and space
!--- available on disk0 is around 53 MB, which is sufficient.
!--- In case there is not enough free space to copy the new image,
!--- delete the current image with the delete command.
刪除disk0中的當前映像:使用命delete disk0:cat6000-sup32pfc3k8.8-4-5.bin
令。此步驟是可選的。
附註:命
令無法用於Supervisor 32。squeeze
Console> (enable)delete disk0:cat6000-sup32pfc3k8.8-4-5.bin File disk0:cat6000-sup32pfc3k8.8-4-5.bin will be deleted permanently, continue (y/n) [n]? y
從TFTP伺服器將新的軟體映像複製到disk0,並驗證映像是否正確複製。檢查新映像的檔案大小是否與Cisco.com上軟體中心提及的大小完全匹配。如果存在差異,請檢查影象在傳輸過程中是否損壞。再次下載映像,以確保交換機在重新載入後不會進入ROMMON模式。
附註:此程式使用FTP伺服器,並且在映像傳輸過程中沒有問題。
Console> (enable) copy ftp disk0: IP address or name of remote host [10.66.64.10]? 10.66.64.10 Username for ftp[anonymous]? cisco Password for User cisco[]: Name of file to copy from [cat6000-sup32pfc3k8.8-5-3.bin]? 64258048 bytes available on device disk0, proceed (y/n) [n]? y Loading cat6000-sup32pfc3k8.8-5-3.bin !!!!!! !--- Output surpressed. [OK - 10011264 bytes copied in 43.985 secs (227606 bytes/sec) File disk0:cat6000-sup32pfc3k8.8-5-3.bin checksum verified and is Ok. File has been copied successfully.
更改引導變數,使交換機在重置後使用新的軟體映像進行引導。
Console> (enable) show boot BOOT variable = disk0:cat6000-sup32pfc3k8.8-4-5.bin,1; CONFIG_FILE variable = 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 !--- The switch originally boots with the old image. Console> (enable) clear boot system flash disk0:cat6000-sup32pfc3k8.8-4-5.bin BOOT variable = !--- Old boot variable is cleared. Console> (enable) set boot system flash disk0:cat6000-sup32pfc3k8.8-5-3.bin BOOT variable = disk0:cat6000-sup32pfc3k8.8-5-3.bin,1; !--- New boot variable is configured. Console> (enable) show boot BOOT variable = disk0:cat6000-sup32pfc3k8.8-5-3.bin,1; CONFIG_FILE variable = 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
重置交換機,以便重新載入時,交換機使用新的軟體映像啟動。
Console> (enable) reset This command will reset the system. Do you want to continue (y/n) [n]? y 2006 Apr 10 22:12:14 %SYS-5-SYS_RESET:System reset from Console// Powering OFF all existing linecards Console> (enable) System Bootstrap, Version 12.2(18r)SX2, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 2004 by cisco Systems, Inc. Cat6k-Sup32 platform with 262144 Kbytes of main memory Autoboot executing command: "boot disk0:cat6000-sup32pfc3k8.8-5-3.bin" Self decompressing the image : ## !--- Output surpressed. ## [OK] System Power On Diagnostics DRAM Size ..........................256 MB Testing DRAM .......................Passed Verifying Text Segment .............Passed NVRAM Size .........................2048 KB Level2 Cache .......................Present Level3 Cache .......................Absent System Power On Diagnostics Complete Currently running ROMMON from S (Gold) region Boot image: disk0:cat6000-sup32pfc3k8.8-5-3.bin Firmware compiled 27-Jan-06 16:09 by integ Build [100] Running System Diagnostics from this Supervisor (Module 5) This may take several minutes....please wait Cisco Systems Console Console>
驗證交換器是否載入新的軟體映像。
Console> (enable) show version WS-C6509 Software, Version NmpSW: 8.5(3) Copyright (c) 1995-2006 by Cisco Systems NMP S/W compiled on Jan 28 2006, 17:09:40 System Bootstrap Version: 12.2 System Boot Image File is 'disk0:cat6000-sup32pfc3k8.8-5-3.bin' System Configuration register is 0x2102 Hardware Version: 2.0 Model: WS-C6509 Serial #: SCA044903GE PS1 Module: WS-CAC-3000W Serial #: SNI0803AL1X Mod Port Model Serial # Versions --- ---- ------------------- ----------- --------------------------------- 5 3 WS-SUP32-10GE-3B SAD092003PK Hw : 1.2 Fw : 12.2 Fw1: 8.5(3) Sw : 8.5(3) Sw1: 8.5(3) WS-F6K-PFC3B SAD091607E3 Hw : 2.1 Sw : DRAM FLASH NVRAM Module Total Used Free Total Used Free Total Used Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----- 5 262144K 123285K 138859K 249772K 18920K 230852K 2048K 261K 1787K Uptime is 0 day, 0 hour, 1 minute
如需升級多層交換器模組(MSM)和多層交換器功能卡(MSFC)/多層交換器功能卡2(MSFC2):/多層交換器功能卡3(MSFC3)上軟體映像的逐步程式,請參閱升級Catalyst交換器第3層模組上的軟體映像。
確保您驗證記憶體/引導ROM要求,在PC上安裝TFTP伺服器,並從交換機控制檯埠訪問交換機控制檯。如果您沒準備好這些設定,請參閱檢查記憶體和Boot ROM要求部分。
附註:許多TFTP實現無法傳輸16 MB或更大的檔案。在Cisco IOS軟體版本12.1(8a)E和更新版本中,Supervisor引擎II的系統軟體映像大於16 MB。使用FTP或遠端複製通訊協定(RCP)傳輸16 MB或更大的檔案。有關如何使用FTP或RCP的步驟,請參閱載入和維護系統映像和微碼。此過程使用Cisco TFTP伺服器,在映像傳輸過程中沒有問題。
設定管理IP位址(VLAN介面),並檢查交換器與安裝TFTP伺服器的PC之間的連線。此範例將IP位址10.10.10.1用於交換器管理(int vlan1),將IP位址10.10.10.2用於TFTP伺服器。
!--- By default, all ports are Layer 3 ports. Port FastEthernet 4/48
!--- is configured to the Layer 2 port, which is connected to the
!--- PC that runs the TFTP server. Cat6500#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Cat6500(config)#interface fa4/48 Cat6500(config-if)#switchport Cat6500(config-if)#switchport mode access Cat6500(config-if)#switchport access vlan 1 Cat6500(config-if)#no shutdown Cat6500(config-if)#exit !--- Port fa4/48 is configured in VLAN 1. VLAN 1 is the
!--- management VLAN. Cat6500(config)#int vlan 1 Cat6500(config-if)#ip address 10.10.10.1 255.255.255.0 Cat6500(config-if)#no shutdown Cat6500(config-if)#^Z Cat6500# 00:04:25: %SYS-5-CONFIG_I: Configured from console by console !--- The configuration for interface fa4/48. Cat6500#show running-config int fa4/48 Building configuration... Current configuration : 85 bytes ! interface FastEthernet4/48 no ip address switchport switchport mode access end Cat6500# !--- Make sure that the VLAN 1 and fa4/48 interfaces are up. Cat6500#show ip int brief Interface IP-Address OK? Method Status Protocol Vlan1 10.10.10.1 YES manual up up GigabitEthernet1/1 unassigned YES unset administratively down down -- output skipped -- FastEthernet4/46 unassigned YES unset administratively down down FastEthernet4/47 unassigned YES unset administratively down down FastEthernet4/48 unassigned YES unset up up Cat6500# !--- IP connectivity with the PC that runs TFTP server is verified. Cat6500#ping 10.10.10.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Cat6500#
Cisco IOS軟體需要兩個軟體映像:
主要軟體映像
開機載入器映像
附註:MSFC1必須使用引導載入程式映像,並且必須將其放在MSFC bootflash中。MSFC2不要求啟動載入程式映像。但是,思科建議您使用啟動映像,如本過程所述。啟動映像是系統映像的縮小版本,其大小要小得多。使用啟動映像,在主系統映像損壞或丟失時,可以執行TFTP映像傳輸。如果選擇使用MSFC2引導映像,則必須將其儲存在MSFC bootflash中。
最佳作法是將slot0中的主軟體映像和MSFC bootflash中的開機載入器映像保留。驗證slot0和MSFC bootflash中是否有足夠的可用空間,以便從TFTP伺服器複製新映像。您可以在下載新映像的PC上檢查其大小。Supervisor引擎720使用術語disk0:
disk1:
和,而不是slot0:
,因此在本示例中,將slot0:
一詞替換為disk0:
或disk1:
,這取決於您使用的磁碟。
Cat6500#dir slot0: Directory of slot0:/ 1 -rw- 21611516 Mar 01 1993 00:08:04 c6sup22-jsv-mz.121-11b.E4 24772608 bytes total (3160964 bytes free) Cat6500# !--- The free space on slot0 is around 3 MB. The new image
!--- size is around 22 MB. Delete the current image in order to
!--- make room in slot0. Cat6500#delete slot0:c6sup22-jsv-mz.121-11b.E4 Delete filename [c6sup22-jsv-mz.121-11b.E4]? Delete slot0:c6sup22-jsv-mz.121-11b.E4? [confirm] Cat6500# !--- After you delete the image, you cannot use the
!--- free space until you squeeze slot0 to use the free space. Cat6500#squeeze slot0: All deleted files will be removed. Continue? [confirm] Squeeze operation may take a while. Continue? [confirm] Squeeze of slot0 complete Cat6500# Cat6500#dir bootflash: Directory of bootflash:/ 1 -rw- 1734148 Mar 01 1993 21:01:07 c6msfc2-boot-mz.121-11b.E4 15204352 bytes total (13470076 bytes free) Cat6500# !--- The free space on bootflash is around 13 MB,
!--- and the new boot loader image size is just 1.66 MB.
!--- You do not need to remove the current boot loader image.
將新的主軟體映像複製到slot0,並將引導映像從TFTP伺服器複製到bootflash。驗證映像是否正確複製。檢查新映像的檔案大小是否與軟體中心的大小匹配。如果不匹配,請檢查影象在傳輸過程中是否損壞。再次下載映像,以確保交換機不會在ROMMON模式下重新載入。
Cat6500#copy tftp slot0: Address or name of remote host []? 10.10.10.2 Source filename []? c6sup22-jsv-mz.121-12c.E2 !--- This is the new main software image. Destination filename [c6sup22-jsv-mz.121-12c.E2]? Loading c6sup22-jsv-mz.121-12c.E2 from 10.10.10.2 (via Vlan1): !!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !--- Output suppressed. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 22338124/44676096 bytes] 22338124 bytes copied in 235.880 secs (95055 bytes/sec) Cat6500#dir slot0: Directory of slot0:/ 1 -rw- 22338124 Mar 01 1993 00:20:15 c6sup22-jsv-mz.121-12c.E2 !--- The new software image is properly copied to slot0. 24772608 bytes total (2434356 bytes free) Cat6500# !--- Copy the boot image in bootflash. Cat6500#copy tftp bootflash: Address or name of remote host [10.10.10.2]? Source filename [c6sup22-jsv-mz.121-12c.E2]? c6msfc2-boot-mz.121-12c.E2 Destination filename [c6msfc2-boot-mz.121-12c.E2]? Loading c6msfc2-boot-mz.121-12c.E2 from 10.10.10.2 (via Vlan1): !!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 1744836/3488768 bytes] 1744836 bytes copied in 9.340 secs (193870 bytes/sec) Cat6500#dir bootflash: Directory of bootflash:/ 1 -rw- 1734148 Mar 01 1993 21:01:07 c6msfc2-boot-mz.121-11b.E4 2 -rw- 1744836 Mar 01 1993 00:25:17 c6msfc2-boot-mz.121-12c.E2 !--- The new boot image is properly copied in bootflash. 15204352 bytes total (11725112 bytes free) Cat6500#
更改引導變數,使交換機在重新載入後使用新軟體引導並引導映像。您可以使用show running-config或show bootvar指令驗證開機變數。
Cat6500#show running-config Building configuration... Current configuration : 4193 bytes ! version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat6500 ! !--- These are the old boot variables. boot system flash slot0:c6sup22-jsv-mz.121-11b.E4 boot bootldr bootflash:c6msfc2-boot-mz.121-11b.E4 ! redundancy main-cpu auto-sync standard ip subnet-zero ! !--- Output suppressed. Cat6500# Cat6500# Cat6500#configure terminal Enter configuration commands, one per line. End with CNTL/Z. !--- Remove the old boot variables. Cat6500(config)#no boot system flash slot0:c6sup22-jsv-mz.121-11b.E4 Cat6500(config)#no boot bootldr bootflash:c6msfc2-boot-mz.121-11b.E4 !--- Configure the new boot variables. Cat6500(config)#boot system flash slot0:c6sup22-jsv-mz.121-12c.E2 Cat6500(config)#boot bootldr bootflash:c6msfc2-boot-mz.121-12c.E2 Cat6500(config)#^Z Cat6500# 00:29:00: %SYS-5-CONFIG_I: Configured from console by console Cat6500#show running-config Building configuration... Current configuration : 4193 bytes ! version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat6500 ! !--- These are the new boot variables. boot system flash slot0:c6sup22-jsv-mz.121-12c.E2 boot bootldr bootflash:c6msfc2-boot-mz.121-12c.E2 ! redundancy main-cpu auto-sync standard ip subnet-zero ! !--- Output suppressed. Cat6500# !--- You can verify the boot variables with the show bootvar
!--- command as well. Make sure to issue the write memory command before
!--- you verify the changes with this command. Cat6500#show bootvar !--- The boot variables are changed. But, the
!--- show bootvar command output displays the old variable. BOOT variable = slot0:c6sup22-jsv-mz.121-11b.E4,1 CONFIG_FILE variable does not exist BOOTLDR variable = bootflash:c6msfc2-boot-mz.121-11b.E4 Configuration register is 0x2102 Cat6500# !--- Save the changes with the write memory command. Cat6500#write memory Building configuration... [OK] Cat6500# Cat6500#show bootvar !--- These are the new boot variables. BOOT variable = slot0:c6sup22-jsv-mz.121-12c.E2,1 CONFIG_FILE variable does not exist BOOTLDR variable = bootflash:c6msfc2-boot-mz.121-12c.E2 !--- Make sure the config-register is set to 0x2102 so that the
!--- switch boots with a valid software image. You can change the
!--- config-register with the sconfig-register 0x2102
!--- configuration mode command. If the boot veriable
!--- is not specifed correctly, your switch can reload in ROMMON mode. Cat6500#
重新載入交換機,以便交換機在重新啟動後使用新的軟體映像啟動。
Cat6500#reload System configuration has been modified. Save? [yes/no]: y Building configuration... [OK] Proceed with reload? [confirm] 00:30:27: %SYS-5-RELOAD: Reload requested 00:30:30: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 00:30:30: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 00:30:30: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. 00:30:32: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. *** *** --- SHUTDOWN NOW --- *** 00:30:32: %SYS-SP-5-RELOAD: Reload requested 00:30:32: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 00:30:32: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. System Bootstrap, Version 6.1(2) Copyright (c) 1994-2000 by cisco Systems, Inc. c6k_sup2 processor with 131072 Kbytes of main memory Autoboot executing command: "boot slot0:c6sup22-jsv-mz.121-12c.E2" !--- The switch is loading the new main software image. Self decompressing the image : ############################################# ############################################################################ ############################################################################ ############################################################################ ############################################################################ ############################################################################ ############################################################################ ############################################################################ ############################################################################ [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) c6sup2_sp Software (c6sup2_sp-SPV-M), Version 12.1(12c)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 23-Aug-02 10:13 by eaarmas Image text-base: 0x40020980, data-base: 0x407F2000 Start as Primary processor 00:00:02: %SYS-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 00:00:02: %OIR-6-CONSOLE: Changing console ownership to route processor System Bootstrap, Version 12.1(3r)E2, RELEASE SOFTWARE (fc1) Copyright (c) 2000 by cisco Systems, Inc. Cat6k-MSFC2 platform with 524288 Kbytes of main memory Download Start !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Download Completed! Booting the image. Self decompressing the image : ########################################## ######################################################################### ######################################################################### ######################################################################### ######################################################################### ######################################################################### ######################################################################### ################################################ [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) c6sup2_rp Software (c6sup2_rp-JSV-M), Version 12.1(12c)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 23-Aug-02 09:42 by eaarmas Image text-base: 0x40008980, data-base: 0x41888000 cisco Catalyst 6000 (R7000) processor with 489472K/34816K bytes of memory. Processor board ID SAD044204RE R7000 CPU at 300Mhz, Implementation 39, Rev 2.1, 256KB L2, 1024KB L3 Cache Last reset from power-on Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 1 Virtual Ethernet/IEEE 802.3 interface(s) 48 FastEthernet/IEEE 802.3 interface(s) 18 Gigabit Ethernet/IEEE 802.3 interface(s) 381K bytes of non-volatile configuration memory. 16384K bytes of Flash internal SIMM (Sector size 512K). Press RETURN to get started! 00:00:37: RP: Currently running ROMMON from S (Gold) region 00:00:44: %SYS-5-CONFIG_I: Configured from memory by console 00:00:44: %SYS-5-RESTART: System restarted -- Cisco Internetwork Operating System Software IOS (tm) c6sup2_rp Software (c6sup2_rp-JSV-M), Version 12.1(12c)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 23-Aug-02 09:42 by eaarmas 00:00:02: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. 00:00:03: %C6KPWR-4-PSINSERTED: power supply inserted in slot 1. 00:00:03: %C6KPWR-4-PSOK: power supply 1 turned on. 00:00:41: SP: Currently running ROMMON from S (Gold) region 00:00:42: %SYS-SP-5-RESTART: System restarted -- Cisco Internetwork Operating System Software IOS (tm) c6sup2_sp Software (c6sup2_sp-SPV-M), Version 12.1(12c)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 23-Aug-02 10:13 by eaarmas 00:00:45: %SNMP-5-COLDSTART: SNMP agent on host Cat6500 is undergoing a cold start 00:00:46: %SYS-6-BOOTTIME: Time taken to reboot after reload = -1781 seconds 00:00:46: %SYS-SP-6-BOOTTIME: Time taken to reboot after reload = 730945875 seconds 00:00:48: %C6KPWR-SP-4-ENABLED: power to module in slot 3 set on 00:00:48: %C6KPWR-SP-4-ENABLED: power to module in slot 4 set on Cat6500> Cat6500>
驗證交換器是否載入新的軟體映像。
Cat6500>enable Cat6500#show version Cisco Internetwork Operating System Software IOS (tm) c6sup2_rp Software (c6sup2_rp-JSV-M), Version 12.1(12c)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) !--- The switch runs the new software release. TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 23-Aug-02 09:42 by eaarmas Image text-base: 0x40008980, data-base: 0x41888000 ROM: System Bootstrap, Version 12.1(3r)E2, RELEASE SOFTWARE (fc1) BOOTLDR: c6sup2_rp Software (c6sup2_rp-JSV-M), Version 12.1(12c)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) !--- The switch runs the new boot image. Cat6500 uptime is 1 minute System returned to ROM by power-on (SP by power-on) Running default software cisco Catalyst 6000 (R7000) processor with 489472K/34816K bytes of memory. Processor board ID SAD044204RE R7000 CPU at 300Mhz, Implementation 39, Rev 2.1, 256KB L2, 1024KB L3 Cache Last reset from power-on Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 1 Virtual Ethernet/IEEE 802.3 interface(s) 48 FastEthernet/IEEE 802.3 interface(s) 18 Gigabit Ethernet/IEEE 802.3 interface(s) 381K bytes of non-volatile configuration memory. 16384K bytes of Flash internal SIMM (Sector size 512K). Configuration register is 0x2102 Cat6500#
在Supervisor Engine 720中,在Cisco IOS軟體版本12.2 SX後,沒有單獨的映像檔案(例如開機載入程式映像和主IOS映像)。Supervisor Engine和MSFC都運行單個捆綁的Cisco IOS映像。
Supervisor Engine 720常見功能:
64 MB bootflash裝置或具有512 MB CompactFlash卡的CompactFlash介面卡(WS-CF-UPG=):
所有版本均支援64-MB bootflash裝置(sup-bootflash:)
WS-CF-UPG=(sup-bootdisk:),支援於:
版本12.2(18)SXE5和更新版本
版本12.2(18)SXF和更新版本
2個CompactFlash II型插槽(disk0:和disk1:)
附註:由於Supervisor引擎720的一些最新軟體映像大於bootflash裝置,因此建議使用CompactFlash卡。
完成以下步驟,升級Supervisor模組上的映像:
您可以檢查下載的新映像的大小。Supervisor引擎720使用術語disk0:
或disk1:
而不是 slot0:.
Cat6509-E#dir disk0: Directory of disk0:/ 1 -rw- 41050516 Apr 5 2006 05:39:24 +00:00 s72033-psv-mz.122-17d.SXB11.bin 65536000 bytes total (24485356 bytes free) Cat6500# !--- The free space on disk0 is around 24 MB. Delete the current image
!--- in order to make room for the new image in disk0. Cat6509-E#delete disk0:s72033-psv-mz.122-17d.SXB11.bin Delete filename [s72033-psv-mz.122-17d.SXB11.bin]? Delete disk0:s72033-psv-mz.122-17d.SXB11.bin? [confirm]
附註:squeeeze指令在某些軟體版本上無法使用。
附註:發出以下命令以檢查squeeeze命令的支援:
Cat6509-E#squeeze ? /nolog Squeeze without squeeze logs /quiet Squeeze without progress update bootflash: Filesystem to be squeezed sup-bootflash: Filesystem to be squeezed
從TFTP伺服器將新的軟體映像複製到disk0。
附註:許多TFTP實現無法傳輸16 MB或更大的檔案。Supervisor Engine 720的Cisco IOS軟體映像大於16 MB。使用FTP或遠端複製通訊協定(RCP)傳輸16 MB或更大的檔案。有關使用FTP或RCP的步驟,請參閱載入和維護系統映像和微碼。
Cat6509-E#copy ftp://cisco:cisco@10.66.64.10//tftpboot/s72033-psv-mz.122-18.SXD7.bin disk0: Destination filename [s72033-psv-mz.122-18.SXD7.bin]? Accessing ftp://cisco:cisco@10.66.64.10//tftpboot/s72033-psv-mz.122-18.SXD7.bin. .. Loading /tftpboot/s72033-psv-mz.122-18.SXD7.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !--- Output suppressed. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 45463592/4096 bytes] 45463592 bytes copied in 139.600 secs (325670 bytes/sec)
驗證映像是否正確複製。檢查新映像的檔案大小是否與軟體中心的大小匹配。如果不匹配,則可能會在傳輸期間損壞映像。您需要再次下載映像,以避免交換機在ROMMON模式下重新載入。
Cat6509-E#dir disk0: Directory of disk0:/ 1 -rw- 45463592 Apr 7 2006 05:45:36 +00:00 s72033-psv-mz.122-18.SXD7.bin 127793152 bytes total (82327552 bytes free) !--- The new software image is properly copied to disk0.
更改引導變數,使交換機在重新載入後使用新的軟體映像進行引導。發出 show running-config
或 show bootvar
命令驗證引導變數。
Cat6509-E#show running-config Building configuration... Current configuration : 1129 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption service counters max age 10 ! hostname Cat6509-E ! boot system disk0:s72033-psv-mz.122-17d.SXB11.bin ! !---- Output suppressed. Cat6509-E#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Cat6509-E(config)#no boot system disk0:s72033-psv-mz.122-17d.SXB11.bin !--- Removes the old boot variable. Cat6509-E(config)#boot system disk0:s72033-psv-mz.122-18.SXD7.bin !--- Configures the new boot variable. Cat6509-E#show running-config Building configuration... Current configuration : 1129 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption service counters max age 10 ! hostname Cat6509-E ! boot system disk0:s72033-psv-mz.122-18.SXD7.bin ! !--- Output suppressed. Cat6509-E#show bootvar BOOT variable = disk0:s72033-psv-mz.122-17d.SXB11.bin,1 CONFIG_FILE variable = BOOTLDR variable = Configuration register is 0x2102 !--- The boot variables are changed above. But, the
!--- show bootvar command output displays the old variable. Cat6509-E#write memory Building configuration... [OK] !--- Saves the changes. Cat6509-E#show bootvar BOOT variable = disk0:s72033-psv-mz.122-18.SXD7.bin,1 CONFIG_FILE variable = BOOTLDR variable = Configuration register is 0x2102 !--- Make sure the config-register is set to 0x2102 so that the
!--- switch boots a valid software image. You can change the
!--- configuration register value if you issue the
!--- config-register 0x2102
!--- configuration mode command. If the boot variable
!--- is not specifed correctly,
!--- switch may reload in ROMMON mode.
重新啟動交換機,以便交換機使用新的軟體映像啟動。
Cat6509-E#reload System configuration has been modified. Save? [yes/no]: y Building configuration... [OK] Proceed with reload? [confirm] 15:57:58: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Comm and. 15:58:01: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 15:58:01: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 15:58:01: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure con sole debugging output. 15:58:04: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. *** *** --- SHUTDOWN NOW --- *** 15:58:04: %SYS-SP-5-RELOAD: Reload requested 15:58:04: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 15:58:04: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure con sole debugging output. System Bootstrap, Version 8.1(3) Copyright (c) 1994-2004 by cisco Systems, Inc. Cat6k-Sup720/SP processor with 1048576 Kbytes of main memory Autoboot executing command: "boot disk0:s72033-psv-mz.122-18.SXD7.bin" Loading image, please wait ... Self decompressing the image : ################################################# ################################################################################ ################################################################################ ################################################################################ ####################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) s72033_sp Software (s72033_sp-PSV-M), Version 12.2(18)SXD7, RELEASE SOF TWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Tue 13-Dec-05 21:47 by kellythw Image text-base: 0x4002100C, data-base: 0x40FD8000 0:00:04: %SYS-3-LOGGER_FLUSHING: System pausing to ensure console debugging out put. 00:00:04: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor 00:00:04: %SYS-3-LOGGER_FLUSHING: System pausing to ensure console debugging out put. 00:00:04: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure consol e debugging output. 00:00:04: %OIR-6-CONSOLE: Changing console ownership to route processor System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2004 by cisco Systems, Inc Download Start !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! Download Completed! Booting the image. Self decompressing the image : ################################################# ################################################################################ ########################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD7, RELEASE SOF TWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Tue 13-Dec-05 22:10 by kellythw Image text-base: 0x4002100C, data-base: 0x42040000 Cisco WS-C6509-E (R7000) processor (revision 1.0) with 983008K/65536K bytes of m emory. Processor board ID SCA080600KT SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache Last reset from s/w peripheral X.25 software, Version 3.0.0. Bridging software. 1 Virtual Ethernet/IEEE 802.3 interface(s) 2 Gigabit Ethernet/IEEE 802.3 interface(s) 1917K bytes of non-volatile configuration memory. 8192K bytes of packet buffer memory. 65536K bytes of Flash internal SIMM (Sector size 512K). Press RETURN to get started! 00:00:58: curr is 0x0 00:00:58: RP: Currently running ROMMON from S (Gold) region 00:01:18: %SYS-5-CONFIG_I: Configured from memory by console 00:01:19: %SYS-5-RESTART: System restarted -- Cisco Internetwork Operating System Software IOS (tm) s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD7, RELEASE SOF TWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Tue 13-Dec-05 22:10 by kellythw 00:01:19: %SYS-6-BOOTTIME: Time taken to reboot after reload = 210 seconds 00:00:04: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure consol e debugging output. 00:00:05: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure consol e debugging output. Firmware compiled 18-Apr-05 17:29 by integ Build [100] 00:01:15: SP: SP: Currently running ROMMON from S (Gold) region 00:01:20: %SYS-SP-5-RESTART: System restarted -- Cisco Internetwork Operating System Software IOS (tm) s72033_sp Software (s72033_sp-PSV-M), Version 12.2(18)SXD7, RELEASE SOF TWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Tue 13-Dec-05 21:47 by kellythw 00:01:21: %OIR-SP-6-INSPS: Power supply inserted in slot 1 00:01:21: %C6KPWR-SP-4-PSOK: power supply 1 turned on. 00:01:26: %FABRIC-SP-5-CLEAR_BLOCK: Clear block option is off for the fabric in slot 5. 00:01:26: %FABRIC-SP-5-FABRIC_MODULE_ACTIVE: The Switch Fabric Module in slot 5 became active. 00:01:28: %DIAG-SP-6-RUN_MINIMUM: Module 5: Running Minimum Diagnostics... 00:01:39: %DIAG-SP-6-DIAG_OK: Module 5: Passed Online Diagnostics 00:01:40: %OIR-SP-6-INSCARD: Card inserted in slot 5, interfaces are now online Cat6509-E>enable
確認交換器已載入新的軟體映像。
Cat6509-E#show version Cisco Internetwork Operating System Software IOS (tm) s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD7, RELEASE SOF TWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Tue 13-Dec-05 22:10 by kellythw Image text-base: 0x4002100C, data-base: 0x42040000 ROM: System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1) BOOTLDR: s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD7, RELEASE SOF TWARE (fc1) Cat6509-E uptime is 3 minutes Time since Cat6509-E switched to active is 2 minutes System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0 x0, BOOT_COUNT 0, BOOTDATA 19 (SP by reload) System image file is "disk0:s72033-psv-mz.122-18.SXD7.bin" cisco WS-C6509-E (R7000) processor (revision 1.0) with 983008K/65536K bytes of m emory. Processor board ID SCA080600KT SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache Last reset from s/w peripheral X.25 software, Version 3.0.0. Bridging software. 1 Virtual Ethernet/IEEE 802.3 interface(s) 2 Gigabit Ethernet/IEEE 802.3 interface(s) 1917K bytes of non-volatile configuration memory. 8192K bytes of packet buffer memory. 65536K bytes of Flash internal SIMM (Sector size 512K). Configuration register is 0x2102 Cat6509-E#
Supervisor引擎32具有:
disk0:
— 一個外部CompactFlash II型插槽(支援CompactFlash II型快閃記憶體PC卡)
sup-bootdisk:
— 256 MB內部CompactFlash快閃記憶體(來自ROMMON,它是bootdisk:)
完成以下步驟,升級Supervisor模組上的映像:
您可以檢查下載的新映像的大小。Supervisor引擎32使用術語disk0:而不是slot0:
Cat6509-E#dir disk0: Directory of disk0:/ 1 -rw- 45266372 Apr 4 2006 22:18:40 +00:00 s3223-ipbase_wan-mz.122-18.SXF2.bin 255938560 bytes total (210669568 bytes free) Cat6509-E# !--- The free space on disk0 is around 2 MB. Delete the current image
!--- in order to make room for the new image in disk0. Cat6509-E#delete disk0:s3223-ipbase_wan-mz.122-18.SXF2.bin Delete filename [s3223-ipbase_wan-mz.122-18.SXF2.bin]? Delete disk0:s3223-ipbase_wan-mz.122-18.SXF2.bin? [confirm]
附註:squeeeze指令在某些軟體版本上無法使用。
附註:發出以下命令以檢查squeeeze命令的支援:
Cat6509-E#squeeze ? /nolog Squeeze without squeeze logs /quiet Squeeze without progress update bootflash: Filesystem to be squeezed
從TFTP伺服器將新的軟體映像複製到disk0。
附註:許多TFTP實現無法傳輸16 MB或更大的檔案。Supervisor Engine 32的Cisco IOS軟體映像大於16 MB。使用FTP或遠端複製通訊協定(RCP)傳輸16 MB或更大的檔案。有關如何使用FTP或RCP的步驟,請參閱載入和維護系統映像和微碼。
Cat6509-E#copy ftp://cisco:cisco@10.66.64.10//tftpboot/s3223-ipbase_wan-mz.122-18.SXF4.bin disk0: Loading /tftpboot/s3223-ipbase_wan-mz.122-18.SXF4.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !--- Output suppressed. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 45302724/4096 bytes] 45302724 bytes copied in 159.400 secs (284208 bytes/sec)
驗證映像是否正確複製。檢查新映像的檔案大小是否與軟體中心的大小匹配。如果不匹配,則可能會在傳輸期間損壞映像。您需要再次下載映像,以避免交換機在ROMMON模式下重新載入。
Cat6509-E#dir disk0: Directory of disk0:/ 1 -rw- 45302724 Apr 7 2006 03:56:18 +00:00 s3223-ipbase_wan-mz.122-18.SXF4.bin 64233472 bytes total (18927616 bytes free) !--- The new software image is properly copied to disk0.
更改引導變數,使交換機在重新載入後使用新的軟體映像進行引導。發出 show running-config
或 show bootvar
命令檢查引導變數。
Cat6509-E#show running-config Building configuration... Current configuration : 1346 bytes ! upgrade fpd auto version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption service counters max age 5 ! hostname Cat6509-E ! boot system disk0:s3223-ipbase_wan-mz.122-18.SXF2.bin ! !---- Output suppressed. Cat6509-E#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Cat6509-E(config)#no boot system disk0:s3223-ipbase_wan-mz.122-18.SXF2.bin !--- Remove the old boot variables. Cat6509-E(config)#boot system disk0:s3223-ipbase_wan-mz.122-18.SXF4.bin !--- Configure the new boot variables. Cat6509-E#show running-config Building configuration... Current configuration : 1129 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption service counters max age 10 ! hostname Cat6509-E ! boot system disk0:s3223-ipbase_wan-mz.122-18.SXF4.bin ! !--- Output suppressed. Cat6509-E#show bootvar BOOT variable = disk0:s3223-ipbase_wan-mz.122-18.SXF2.bin CONFIG_FILE variable =CONFIG_FILE variable does not exist BOOTLDR variable = Configuration register is 0x2102 !--- Though the boot variables are previously changed, the
!--- show bootvar command output displays the old variable. Cat6509-E#write memory Building configuration... [OK] !--- Saves the changes. Cat6509-E#show bootvar BOOT variable = disk0:s3223-ipbase_wan-mz.122-18.SXF4.bin CONFIG_FILE variable =CONFIG_FILE variable does not exist BOOTLDR variable = Configuration register is 0x2102 !--- Make sure the config-register is set to 0x2102 so that the
!--- switch boots a valid software image. You can change the
!--- configuration register value if you issue the
!--- config-register 0x2102
!--- configuration mode command. If the boot variable
!--- is not specifed correctly,
!--- switch may reload in ROMMON mode.
重新載入交換機,以便交換機使用新的軟體映像啟動。
Cat6509-E#reload Proceed with reload? [confirm] 21:51:24: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command. 21:51:27: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 21:51:27: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor 21:51:27: %SYS-SP-3-LOGGER_FLUSHED: System was paus 21:51:30: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. *** *** --- SHUTDOWN NOW --- *** 21:51:30: %SYS-SP-5-RELOAD: Reload requested 21:51:30: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor ed for 00:00:00 to ensure console debugging output. 21:51:30: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. Resetting ....... System Bootstrap, Version 12.2(18r)SX2, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 2004 by cisco Systems, Inc. Cat6k-Sup32 platform with 262144 Kbytes of main memory Autoboot executing command: "boot disk0:s3223-ipbase_wan-mz.122-18.SXF4.bin" Initializing ATA monitor library... Self extracting the image... [OK] Self decompressing the image : ####################################################################### ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) s3223_sp Software (s3223_sp-IPBASE_WAN-M), Version 12.2(18)SXF4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Thu 23-Mar-06 17:25 by tinhuang Image text-base: 0x4023105C, data-base: 0x4144C000 MAC based EOBC installed 00:00:05: %SYS-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 00:00:05: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor 00:00:06: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output. 00:00:05: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. 00:00:06: %OIR-SP-6-CONSOLE: Changing console ownership to route processor System Bootstrap, Version 12.2(17r)SX3, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 2004 by cisco Systems, Inc. Cat6k-MSFC2A platform with 524288 Kbytes of main memory Download Start !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!! Download Completed! Booting the image. Self decompressing the image : ####################################################################### ###################################################################################################### #################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) s3223_rp Software (s3223_rp-IPBASE_WAN-M), Version 12.2(18)SXF4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Thu 23-Mar-06 17:28 by tinhuang Image text-base: 0x40101040, data-base: 0x429E0000 cisco WS-C6509 (R7000) processor (revision 2.0) with 458752K/65536K bytes of memory. Processor board ID SCA044903GE R7000 CPU at 300Mhz, Implementation 0x27, Rev 3.3, 256KB L2, 1024KB L3 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 1 Gigabit Ethernet/IEEE 802.3 interface 2 Ten Gigabit Ethernet/IEEE 802.3 interfaces 1915K bytes of non-volatile configuration memory. 65536K bytes of Flash internal SIMM (Sector size 512K). Press RETURN to get started! 00:01:18: %MFIB_CONST_RP-6-REPLICATION_MODE_CHANGE: Replication Mode Change Detected. Current system r eplication mode is Ingress 00:00:05: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. 00:00:06: %OIR-SP-6-CONSOLE: Changing console ownership to route processor 00:00:06: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output. Firmware compiled 06-Mar-06 22:47 by integ Build [100] 00:01:18: %SYS-SP-5-RESTART: System restarted -- Cisco Internetwork Operating System Software IOS (tm) s3223_sp Software (s3223_sp-IPBASE_WAN-M), Version 12.2(18)SXF4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Thu 23-Mar-06 17:25 by tinhuang 00:01:18: SP: Currently running ROMMON from S (Gold) region 00:01:18: %SYS-SP-6-BOOTTIME: Time taken to reboot after reload = 225 seconds 00:01:19: %OIR-SP-6-INSPS: Power supply inserted in slot 1 00:01:20: %C6KPWR-SP-4-PSOK: power supply 1 turned on. 00:01:21: %C6KENV-SP-4-FANHIOUTPUT: Version 2 high-output fan-tray is in effect 00:01:24: %DIAG-SP-6-RUN_MINIMUM: Module 5: Running Minimal Diagnostics... 00:01:37: %C6KENV-SP-4-USE_RED_CLOCK: system is using the redundant clock (clock B). 00:01:38: %OIR-SP-6-INSCARD: Card inserted in slot 5, interfaces are now online Cat6509-E>
確認交換器已載入新的軟體映像。
Cat6509-E#show version Cisco Internetwork Operating System Software IOS (tm) s3223_rp Software (s3223_rp-IPBASE_WAN-M), Version 12.2(18)SXF4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Thu 23-Mar-06 17:28 by tinhuang Image text-base: 0x40101040, data-base: 0x429E0000 ROM: System Bootstrap, Version 12.2(17r)SX3, RELEASE SOFTWARE (fc1) BOOTLDR: s3223_rp Software (s3223_rp-IPBASE_WAN-M), Version 12.2(18)SXF4, RELEASE SOFTWARE (fc1) Cat6509-E uptime is 28 minutes Time since Cat6509-E switched to active is 27 minutes System returned to ROM by power-on (SP by power-on) System image file is "disk0:s3223-ipbase_wan-mz.122-18.SXF4.bin" cisco WS-C6509 (R7000) processor (revision 2.0) with 458752K/65536K bytes of memory. Processor board ID SCA044903GE R7000 CPU at 300Mhz, Implementation 0x27, Rev 3.3, 256KB L2, 1024KB L3 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 1 Gigabit Ethernet/IEEE 802.3 interface 2 Ten Gigabit Ethernet/IEEE 802.3 interfaces 1915K bytes of non-volatile configuration memory. 65536K bytes of Flash internal SIMM (Sector size 512K). Configuration register is 0x2102 Cat6509-E#
Catalyst 6000/6500系列交換器允許備援Supervisor Engine在主Supervisor Engine發生故障時接管功能,以便支援容錯功能。冗餘Supervisor引擎的型別必須與同一型號功能卡相同,這樣才能支援冗餘。安裝兩個Supervisor Engine時,第一個聯機的Supervisor Engine將成為活動模組。第二個Supervisor Engine進入備用模式。所有管理和網路管理功能(例如簡易網路管理通訊協定(SNMP)、指令行介面(CLI)主控台、Telnet、跨距樹狀目錄通訊協定(STP)、Cisco探索通訊協定(CDP)和VLAN中繼線通訊協定(VTP))都在作用中Supervisor Engine上處理。在備用Supervisor Engine上,控制檯埠處於非活動狀態。冗餘Supervisor引擎不可更換。切換到冗餘Supervisor Engine後,系統繼續使用相同的配置運行。
不能對具有備援Supervisor模組的Catalyst 6000/6500系列交換器使用普通的軟體升級程式。請參閱含備援Supervisor引擎軟體映像的Catalyst 6000/6500系列交換器升級組態範例,以在備援模式下升級Catalyst 6000/6500系列交換器。
目前沒有適用於此組態的驗證程序。
本節提供的資訊可用於對組態進行疑難排解。
CatOS交換器嘗試將映像複製到bootflash或格式不兼squeeze
容的bootflash時會發生錯誤。即使bootflash為空,也會發生此錯誤:
Console> (enable) copy tftp flash error = -21 Can not open destination file bootflash:[x] (file system full), where 'x' is the image name.
Console> (enable) squeeze bootflash: error = -45 Squeeze device bootflash failed (error reading squeeze log)
解決方法是格式化bootflash並重試該操作。
Console> (enable) format bootflash:
軟體升級可能因為以下原因而失敗,例如交換器和TFTP伺服器之間的IP連線問題、開機變數設定不正確,或者將軟體映像複製到交換器期間電源故障。這些問題可能導致交換機在ROMMON中啟動。如果交換機處於ROMMON模式,而bootflash或PCMCIA快閃記憶體卡上不存在有效的映像,則可以使用軟體恢復過程將交換機恢復到正常模式。請參閱這些檔案瞭解軟體復原程式:
執行CatOS的交換器上的軟體降級一律會導致組態遺失。發出 copy config tftp
命令將組態備份到TFTP伺服器。或者,發出copy config flash
命令,將組態備份至快閃記憶體裝置。
發出 copy tftp config
或 copy flash config
命令從TFTP伺服器或快閃記憶體裝置獲取配置檔案,以便在成功降級後恢復配置。
請參閱Catalyst 6000命令參考指南,瞭解這些命令的語法及用法。
將映像從TFTP複製到slot0時,會收到以下錯誤訊息:
Invalid or Unknown device slot0 Failed to copy from tftp to slot0:
當您嘗試格式化Flash檔案系統時,可能會顯示類似以下的錯誤消息:
SW1 (enable) format slot0: All sectors will be erased, proceed (y/n) [n]? y Enter volume id (up to 31 characters): test error = -85 Format device slot0 failed (cannot find flash algorithm)
這些錯誤消息表示快閃記憶體系 slot0:
統在裝置上不可用。根據Supervisor Engine和快閃記憶體系統大小,使用不同的名稱來引用快閃記憶體裝置。如果快閃記憶體的檔案大小大於20MB,則將其視為disk
,而不是slot
。
要檢視裝置中可用檔案系統的清單,請使用show file system
命令,然後使用適當的快閃記憶體裝置名稱發出copy
或format
命令。
Cisco Catalyst 6500系列交換器升級後或轉換過程中重新載入時,會顯示「device does not contains a valid magic number」錯誤訊息。
出現此錯誤訊息時,交換器無法載入Cisco IOS軟體映像。問題是由裝置上的檔案系統損壞引起的,CPU嘗試從該裝置載入Cisco IOS軟體映像。
此外,當您輸入dir disk0:
dir slot0:
或命令時,未格式化的快閃記憶體PC卡會返回「裝置塊資訊錯誤」或「幻數無效」錯誤消息。
為了解決問題,請執行以下步驟:
轉到ROM監視器(ROMmon)模式。
使用bootflash手動啟動映像。
檢查slot0中的映像大小是否與從TFTP伺服器下載的映像大小相同。
如果映像大小相format
同,則選擇slot0或disk0,然後使用命令從TFTP伺服器下載新映copy
像。
附註:無法在一個命令中複製多個檔案。
檢查映像是否已直接從TFTP下載到插槽0,或下載到ATA卡,然後從ATA卡複製到插槽0。如果映像已直接下載到ATA卡,請在從TFTP伺服器下載映像之前格式化ATA卡。
Supervisor上SP的配置暫存器值設定為0x2142。「4」表示忽略系統配置。RP ROMMON的值為0x2102。
由於此設定,最大路由代碼忽略來自非預設最大路由配置的值。忽略後,配置的值與載入的值之間會出現不匹配,這將導致路由器重新載入。
作為解決方法,請使用以下命令在SP上將config-register值配置為0x2102:
Switch#configure terminal Switch(config)#config-register 0x2102 Switch#write memory !--- To save the configuration.
配置後,檢查RP和SP的配置暫存器值是否相同。值必須是0x2102。
要檢查RP配置暫存器值,請使用 show boot
指令。
要檢查SP配置暫存器值,請使用 remote command switch show version
指令。
修訂 | 發佈日期 | 意見 |
---|---|---|
2.0 |
17-May-2023 |
重新認證。 |
1.0 |
27-Aug-2009 |
初始版本 |