本產品的文件集力求使用無偏見用語。針對本文件集的目的,無偏見係定義為未根據年齡、身心障礙、性別、種族身分、民族身分、性別傾向、社會經濟地位及交織性表示歧視的用語。由於本產品軟體使用者介面中硬式編碼的語言、根據 RFP 文件使用的語言,或引用第三方產品的語言,因此本文件中可能會出現例外狀況。深入瞭解思科如何使用包容性用語。
思科已使用電腦和人工技術翻譯本文件,讓全世界的使用者能夠以自己的語言理解支援內容。請注意,即使是最佳機器翻譯,也不如專業譯者翻譯的內容準確。Cisco Systems, Inc. 對這些翻譯的準確度概不負責,並建議一律查看原始英文文件(提供連結)。
本檔案介紹使用指令行介面(CLI)在Cisco Catalyst 3750系列交換器上升級軟體映像的步驟。
Cisco建議您在下載軟體之前,請參閱Cisco IOS®版本12.2(25)SEB和更新版本的版本說明,Catalyst 3750、3560和2970交換器的以下各節,以取得重要資訊:
本檔案中的資訊是根據以下硬體版本:
WS-C3750G-12S交換機
WS-C3750G-24TS交換機
注意:您可以取代任何堆疊式Catalyst 3750系列交換器。
注意:本文檔是對Catalyst 3750交換機等已到達生命週期末端的平台的參考。雖然這些平台正被新裝置取代,但此處包含的資訊仍具有參考價值。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
具有Cisco IOS軟體版本名稱的目錄將Cisco IOS映像儲存為bin檔案。該目錄將映象儲存在主機板快閃記憶體裝置(flash:)上。子目錄包含您進行Web管理所需的檔案。
您可以使用 show version 特權EXEC命令來檢視交換機上運行的軟體版本。顯示的第二行顯示版本。
注意:雖然
show version 輸出總是顯示交換機上運行的軟體映像,但是此顯示結尾出現的型號名稱才是出廠配置。此映像可能是IP Base映像(以前稱為標準多層映像(SMI))或IP Services映像(以前稱為增強型多層映像(EMI))。如果您升級軟體映像,此名稱不會變更。
您還可以使用
dir filesystem: privileged EXEC 命令。此指令會顯示您儲存在快閃記憶體中的任何其他軟體映像的目錄名稱。
在您決定要將交換機升級至哪個Cisco IOS軟體版本之前,您必須:
-
閱讀特定Cisco IOS軟體版本的發行版本註釋。請參閱Cisco Catalyst 3750系列交換機-發行版本註釋。
-
請參閱Bug工具組(僅限註冊客戶)和Cisco Catalyst 3750系列交換器- Field Notices。
查詢Catalyst 3750交換機的優先順序值
優先順序值決定堆疊中的主要交換器。優先順序值可為 1 到 15。預設優先順序值為 1。思科建議將最高的優先順序值指定給您希望當作堆疊主要交換器的交換器。在本例中,主交換機的優先順序值為15。如需詳細資訊,請參閱建立和管理Catalyst 3750交換器堆疊。
3750#show switch detail
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Slave 000c.30ae.4f00 9 Ready
*2 primary 000d.bd5c.1680 15 Ready
決定使用哪些檔案
Catalyst 3750的軟體下載中心包含適用於每個功能集和版本的兩組Cisco IOS映像。其中一組僅包含副檔名為.bin的Cisco IOS映像檔案。另一組包含Cisco IOS映像以及副檔名為.tar的基於Web的裝置管理器。
本檔案將說明使用.tar映像以及.bin映像的升級程式。.tar檔案包含Cisco IOS映像檔案和嵌入式裝置管理器所需的檔案。您必須使用合併的tar檔案,才能透過裝置管理員升級交換器。
Cisco IOS軟體版本12.2(25)SEA及之前版本所指的影像提供第2層+功能及基本第3層路由作為SMI。這些軟體版本所指的影像提供完整的第3層路由和進階服務作為EMI。
Cisco IOS軟體版本12.2(25)SEB和更新版本是指將SMI作為IP Base映像,並將EMI作為I P服務映像。
表1列出了Cisco IOS軟體版本12.2(25)SEB之前和之後版本的不同檔案命名規則。
表1:Cisco IOS映像檔案命名規則 | |
---|---|
Cisco IOS軟體版本12.2(25)SEA及更低版本 | Cisco IOS軟體版本12.2(25)SEB及更新版本 |
c3750-i9-mz (SMI) | c3750-ipbase-mz |
c3750-i9k91-mz (SMI) | c3750-ipbasek9-mz |
c3750-i5-mz (EMI) | c3750-ipservices-mz |
c3750-i5k91-mz (EMI) | c3750-ipservicesk9-mz |
表2列出了此軟體版本的檔名。
表2:Cisco IOS軟體映像檔案 | |
---|---|
檔案名稱 | 說明 |
c3750-ipbase-tar.122-25.SEB.tar | Catalyst 3750 IP基礎映像和裝置管理器檔案此映像具有第2層+和第3層基本路由功能。 |
c3750-ipservices-tar.122-25.SEB.tar | Catalyst 3750 IP服務映像和裝置管理器檔案此映像同時具有第2層+路由功能和完整的第3層路由功能。 |
c3750-ipbasek9-tar.122-25.SEB.tar | Catalyst 3750 IP Base加密映像和裝置管理器檔案此映像具有Kerberos、SSH1、第2層+和基本的第3層路由功能。 |
c3750-ipservicesk9-tar.122-25.SEB.tar | Catalyst 3750 IP服務加密映像和裝置管理器檔案此映像具有Kerberos、SSH、第2+層和完整的第3層功能。 |
c3750-advipservicesk9-tar.122-25.SEB.tar | Catalyst 3750高級IP服務映像、加密檔案和裝置管理器檔案此映像具有所有IP服務映像功能以及IPv62資料包的單播路由功能。 |
1SSH =安全外殼
2IPv6 = IP版本6
Software Advisor工具可幫助確定網路所需功能所需的功能集。
附註:只有完成註冊的思科使用者能存取思科內部工具與資訊。
快閃記憶體檔案系統和記憶體要求
Flash檔案系統
3750出廠時即在flash:目錄中安裝了一個基於Web的裝置管理器(.tar檔案)。使用.tar檔案進行的解壓縮過程會建立一個Cisco IOS映象目錄。映象目錄與Cisco IOS映象(.bin檔案)同名,但不帶副檔名。此目錄儲存Cisco IOS映像(.bin檔案)以及包含裝置管理器檔案的HTML子目錄。
發出
dir flash: 命令以檢視3750快閃記憶體檔案系統。以下是命令輸出的示例:
3750#dir flash:
Directory of flash:/
2 -rwx 5684228 Mar 12 1993 08:13:57 +00:00 c3750-ipbase-mz.122-25.SEC2.bin
3 -rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text
4 drwx 192 Mar 12 1993 08:11:00 +00:00 c3750-ipbase-mz.122-25.SEB4
5 -rwx 5 Mar 1 1993 00:02:16 +00:00 private-config.text
6 -rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat
364 -rwx 105 Mar 12 1993 08:11:00 +00:00 info
15998976 bytes total (3201536 bytes free)
!--- Notice the "d" in the permissions statement.
!--- It indicates that c3750-ipbase-mz.122-25.SEB4 is a directory.
!--- This directory is the location of both the Cisco IOS image (.bin file)
!--- and the HTML subdirectory.
要使用基於Web的裝置管理器將3750交換機升級到Cisco IOS軟體版本,請參閱本文檔中的以下部分:
請參閱3750系列交換機堆疊Cisco IOS升級-手動(.bin映像)部分,以僅使用Cisco IOS軟體版本升級交換機。
DRAM記憶體
所有型號的3750系列交換機的DRAM配置均為128 MB。在3750上升級軟體之前,沒有需要考慮的最低DRAM要求。
快閃記憶體
根據Catalyst 3750交換機的型號,3750交換機附帶的內部快閃記憶體為16 MB或32 MB。有關詳細資訊,請參閱Cisco Catalyst 3750資料表。
您可以儲存在Flash中的影像數目有限。升級軟體之前,請一律檢查映像大小(位元組)。發出
dir flash: 命令以將此映像的大小與快閃記憶體中的可用空間進行比較。以下是命令輸出的示例:
3750#dir flash:
Directory of flash:/
2 -rwx 6221372 Mar 1 1993 00:23:06 +00:00 c3750-ipbase-mz.122-25.SED1.bin
3 -rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text
4 -rwx 5684228 Mar 1 1993 01:17:34 +00:00 c3750-ipbase-mz.122-25.SEC2.bin
5 -rwx 5 Mar 1 1993 00:02:16 +00:00 private-config.text
6 -rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat
15998976 bytes total (4087296 bytes free)
3750#
如有必要,請發出
delete flash:file_name 命令以刪除單個Cisco IOS映像(.bin檔案)。或者,發出
delete /force /recursive flash:dir_name 命令以刪除一個目錄以及該目錄中的所有檔案。
以下是刪除Cisco IOS映像(.bin檔案)的命令輸出示例:
3750#delete flash:c3750-ipbase-mz.122-25.SED1.bin
Delete filename [c3750-ipbase-mz.122-25.SED1.bin]?
!--- Press Return or Enter.
Delete flash:c3750-ipbase-mz.122-25.SED1.bin? [confirm]
!--- Press Return or Enter.
3750#dir flash:
Directory of flash:/
3 -rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text
4 -rwx 5684228 Mar 1 1993 01:17:34 +00:00 c3750-ipbase-mz.122-25.SEC2.bin
5 -rwx 5 Mar 1 1993 00:02:16 +00:00 private-config.text
6 -rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat
15998976 bytes total (10309120 bytes free)
以下是使用基於Web的裝置管理器(目錄)刪除Cisco IOS映像的命令輸出示例:
3750#dir flash:
Directory of flash:/
2 -rwx 5684228 Mar 12 1993 08:13:57 +00:00 c3750-ipbase-mz.122-25.SEC2.bin
3 -rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text
4 drwx 192 Mar 12 1993 08:11:00 +00:00 c3750-ipbase-mz.122-25.SEB4
5 -rwx 5 Mar 1 1993 00:02:16 +00:00 private-config.text
6 -rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat
364 -rwx 105 Mar 12 1993 08:11:00 +00:00 info
15998976 bytes total (3201536 bytes free)
3750#delete /force /recursive flash:c3750-ipbase-mz.122-25.SEB4
Delete filename [c3750-ipbase-mz.122-25.SEB4]?
!--- Press Return or Enter.
3750#dir flash:
Directory of flash:/
2 -rwx 5684228 Mar 12 1993 08:13:57 +00:00 c3750-ipbase-mz.122-25.SEC
2.bin
3 -rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text
5 -rwx 5 Mar 1 1993 00:02:16 +00:00 private-config.text
6 -rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat
364 -rwx 105 Mar 12 1993 08:11:00 +00:00 info
15998976 bytes total (10308608 bytes free)
升級可能需要您釋放更多空間。此需求視您儲存在Flash中的影像數量而定。您可以刪除較舊的影像/目錄,以釋放此空間。
3750系列交換器堆疊Cisco IOS升級-自動(.tar映像)
本節提供用於設定本文件中所述功能的資訊。
本節中的過程將合併的tar檔案複製到交換機。您將檔案從TFTP伺服器複製到交換器並解壓縮檔案。您可以下載影像檔案並取代目前的影像,也可以保留目前的影像。
注意:對於交換機堆疊,archive download-sw和archive upload-sw privileged EXEC命令只能透過堆疊主交換機來使用。下載至堆疊主要成員的軟體映像會自動下載至其餘堆疊成員。因此,您必須登入到主交換機才能執行此升級。
逐步說明
若要下載軟體,請完成以下步驟:
步驟 1
使用本文檔的決定使用哪些檔案部分,以確定要下載的映像和功能集的型別。
步驟 2
要下載用於Catalyst 3750交換機的IP Services映像或IP Base映像檔案的較早版本,請按一下Archived Catalyst 3750 Software(僅限註冊使用者)。若要取得授權並下載加密軟體檔案,請按一下「Catalyst 3750強式加密(3DES)軟體」。
注意:低於Cisco IOS軟體版本12.1(19)EA1c的Cisco IOS軟體版本包括引導載入程式升級。首次載入新軟體時,開機載入器可能需要最多1分鐘的時間進行升級。開機載入器升級時,請勿重新啟動交換器。
步驟 3
將映像複製到工作站上適當的TFTP目錄,並確保TFTP伺服器具有正確的配置。
有關詳細資訊,請參閱此版本的軟體配置指南附錄B。
步驟 4
透過控制檯埠或Telnet會話登入到交換機並進入啟用模式。
步驟 5
要檢視當前版本,請發出
show version 命令。
3750#show version
Cisco Internetwork Operating System Software
Cisco IOS (tm) C3750 Software (C3750-I5-M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 05-Apr-04 22:06 by antonino
Image text-base: 0x00003000, data-base: 0x009206D8
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)
3750 uptime is 4 days, 19 hours, 43 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.121-19.EA1d.bin"
cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118776K/12288K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3 interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0D:BD:5C:16:80
Motherboard assembly number : 73-8307-06
Power supply part number : 341-0048-01
Motherboard serial number : CAT073205SU
Power supply serial number : DTH073004US
Model revision number : A0
Motherboard revision number : A0
Model number : WS-C3750G-12S-E
System serial number : CAT0732R0JU
Top Assembly Part Number : 800-23419-01
Top Assembly Revision Number : A0
Hardware Board Revision Number : 0x06
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24TS 12.1(19)EA1d C3750-I5-M
* 2 12 WS-C3750G-12S 12.1(19)EA1d C3750-I5-M
Switch 01
步驟 6
在3750上發出
dir flash:命令,以驗證可用於升級的空閒記憶體量。
以下是命令輸出的示例:
3750#dir flash:
Directory of flash:/
2 -rwx 1516 Mar 01 1993 00:01:28 vlan.dat
3 -rwx 4050902 Mar 01 1993 00:03:32 c3750-i5-mz.121-19.EA1d.bin
4 -rwx 4273 Mar 05 1993 19:22:44 config.text
84 -rwx 5 Mar 05 1993 19:22:44 private-config.text
15998976 bytes total (11940352 bytes free)
步驟 7
要驗證與TFTP伺服器的連通性,請對其IP地址執行ping操作。
3750#ping 10.11.11.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.11.11.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
步驟 8
有數個選項可供下載影像。您可以使用本部分中顯示的命令列選項,讓新映像覆蓋舊映像,或讓舊映像保留在快閃記憶體中。
該示例使用
archive download-sw 命令來保留裝置上的舊映像。有關可用命令的完整說明,請參閱Catalyst 3750交換機Cisco IOS命令指南的archive download-sw部分。
下面是可用於
archive download-sw 命令的選項:
3750#archive download-sw ?
/destination-system specify destination system to receive software
/force-reload Unconditionally reload system after successful sw
upgrade
/imageonly Load only the Cisco IOS image(s)
/leave-old-sw Leave old sw installed after successful sw upgrade
/no-set-boot Don't set BOOT -- leave existing boot config alone
/no-version-check skip version check that prevents incompatible image
install
/only-system-type specify individual system type to be updated
/overwrite OK to overwrite an existing image
/reload Reload system (if no unsaved config changes) after
successful sw upgrade
/safe Always load before deleting old version
flash1: Image file
flash2: Image file
flash: Image file
ftp: Image file
rcp: Image file
tftp: Image file
此範例顯示使用中的命令和透過上傳程式的交換器輸出:
3750#archive download-sw /leave-old-sw tftp://10.11.11.11/c3750-i5-tar.122-20.SE.tar
Loading c3750-i5-tar.122-20.SE.tar .from 10.11.11.11 (via GigabitEthernet1/0/4):
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 8488960 bytes]
Loading c3750-i5-tar.122-20.SE.tar .from 10.11.11.11 (via GigabitEthernet1/0/4):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (98 bytes)
extracting c3750-i5-mz.122-20.SE/info (435 bytes)
extracting info (98 bytes)
Stacking Version Number: 1.4
System Type: 0x00000000
Cisco IOS Image File Size: 0x004BA200
Total Image File Size: 0x00818A00
Minimum Dram required: 0x04000000
Image Suffix: i5-122-20.SE
Image Directory: c3750-i5-mz.122-20.SE
Image Name: c3750-i5-mz.122-20.SE.bin
Image Feature: LAYER_3|MIN_DRAM_MEG=64
Old image for switch 1: unknown
Old image for switch 2: unknown
Extracting images from archive into flash on switch 1...
c3750-i5-mz.122-20.SE/ (directory)
c3750-i5-mz.122-20.SE/html/ (directory)
extracting c3750-i5-mz.122-20.SE/html/cms_boot.jar (154860 bytes)
extracting c3750-i5-mz.122-20.SE/html/err.html (152 bytes)
extracting c3750-i5-mz.122-20.SE/html/cms_splash.gif (22131 bytes)
extracting c3750-i5-mz.122-20.SE/html/cms_13.html (510 bytes)
extracting c3750-i5-mz.122-20.SE/html/custom_cms.html (2441 bytes)
extracting c3750-i5-mz.122-20.SE/html/not_supported.html (1392 bytes)
extracting c3750-i5-mz.122-20.SE/html/cluster.html (2822 bytes)
extracting c3750-i5-mz.122-20.SE/html/start.html (576 bytes)
extracting c3750-i5-mz.122-20.SE/html/test.htm (2301 bytes)
extracting c3750-i5-mz.122-20.SE/html/xhome.htm (25035 bytes)
extracting c3750-i5-mz.122-20.SE/html/stylesheet.css (3364 bytes)
extracting c3750-i5-mz.122-20.SE/html/back-exp.htm (182 bytes)
extracting c3750-i5-mz.122-20.SE/html/sitewide.js (10627 bytes)
extracting c3750-i5-mz.122-20.SE/html/tools.htm (21818 bytes)
extracting c3750-i5-mz.122-20.SE/html/appsui.js (3092 bytes)
extracting c3750-i5-mz.122-20.SE/html/forms.js (11521 bytes)
extracting c3750-i5-mz.122-20.SE/html/doc.htm (22332 bytes)
extracting c3750-i5-mz.122-20.SE/html/express-setup.htm (61957 bytes)
extracting c3750-i5-mz.122-20.SE/html/troubleshooting_Browser.htm (3704 bytes)
extracting c3750-i5-mz.122-20.SE/html/troubleshooting_OS.htm (2851 bytes)
extracting c3750-i5-mz.122-20.SE/html/net_report.htm (21107 bytes)
!--- Output suppressed.
Installing (renaming): `flash1:update/c3750-i5-mz.122-20.SE' ->
`flash1:c3750-i5-mz.122-20.SE'
New software image installed in flash1:c3750-i5-mz.122-20.SE
Installing (renaming): `flash:update/c3750-i5-mz.122-20.SE' ->
`flash:c3750-i5-mz.122-20.SE'
New software image installed in flash:c3750-i5-mz.122-20.SE
All software images installed.
!--- Installation of the image and supporting files is now complete
!--- in the flash of all switches in the stack. In this example, installation
!--- is complete in both switches.
步驟 9
映像複製已完成,並且您已準備好重新啟動。要驗證交換機的當前狀態是否為Ready,請發出
show switch detail 命令。
以下是範例:
3750#show switch detail
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Slave 000c.30ae.4f00 9 Ready
*2 primary 000d.bd5c.1680 15 Ready
Stack Port Status Neighbors
Switch# Port 1 Port 2 Port 1 Port 2
--------------------------------------------------------
1 Ok Ok 2 2
2 Ok Ok 1 1
步驟 10
要驗證新映像是否位於堆疊成員的快閃記憶體中,請發出
dir flash: 命令和
dir flash 1: 命令。在本範例中,有兩個交換器堆疊成員。如果堆疊配置包含堆疊中的其他交換機,請對堆疊中的每個其他交換機發出
dir flash#: 命令。
發出
show version 命令,以驗證舊映像是否仍然為當前作業系統映像。發出
show boot 命令,以驗證新映像現在是否為可在下次交換機重新載入時載入的BOOT path-list中的映像。
3750#dir flash:
Directory of flash:/
2 -rwx 1516 Mar 01 1993 00:01:28 vlan.dat
3 -rwx 4050902 Mar 01 1993 00:03:32 c3750-i5-mz.121-19.EA1d.bin
4 -rwx 4273 Mar 05 1993 19:22:44 config.text
6 drwx 192 Mar 05 1993 19:40:16 c3750-i5-mz.122-20.SE
84 -rwx 5 Mar 05 1993 19:22:44 private-config.text
!--- Notice the "d" in the permissions statement. The "d" indicates a directory.
15998976 bytes total (3491328 bytes free)
3750#dir flash1:
Directory of flash1:/
2 -rwx 4050902 Mar 01 1993 00:35:58 c3750-i5-mz.121-19.EA1d.bin
3 -rwx 1516 Mar 01 1993 00:01:33 vlan.dat
4 -rwx 4273 Mar 05 1993 19:22:44 config.text
5 -rwx 5 Mar 05 1993 19:22:44 private-config.text
7 drwx 192 Mar 05 1993 19:37:40 c3750-i5-mz.122-20.SE
15998976 bytes total (3491328 bytes free)
3750#show version
Cisco Internetwork Operating System Software
Cisco IOS (tm) C3750 Software (C3750-I5-M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 05-Apr-04 22:06 by antonino
Image text-base: 0x00003000, data-base: 0x009206D8
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)
3750 uptime is 4 days, 19 hours, 43 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.121-19.EA1d.bin"
cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with
118776K/12288K bytes of memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3 interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0D:BD:5C:16:80
Motherboard assembly number : 73-8307-06
Power supply part number : 341-0048-01
Motherboard serial number : CAT073205SU
Power supply serial number : DTH073004US
Model revision number : A0
Motherboard revision number : A0
Model number : WS-C3750G-12S-E
System serial number : CAT0732R0JU
Top Assembly Part Number : 800-23419-01
Top Assembly Revision Number : A0
Hardware Board Revision Number : 0x06
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24TS 12.1(19)EA1d C3750-I5-M
* 2 12 WS-C3750G-12S 12.1(19)EA1d C3750-I5-M
Switch 01
!--- When you issue the show boot command, it now reads the new code revision
!--- that can load at the next reboot.
3750#show boot
BOOT path-list : flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
3750#
3750#
步驟 11
在提示符下,發出
reload 命令並進行確認,以繼續進行重新載入。新的程式碼版本必須啟動並開始在堆疊中的所有交換器上如預期地執行。
以下是交換器重新載入的範例輸出:
3750#reload
Proceed with reload? [confirm]
4d19h: %SYS-5-RELOAD: Reload requested
Base ethernet MAC Address: 00:0d:bd:5c:16:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 86 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 12507648
flashfs[0]: Bytes available: 3491328
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin"
...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin" uncompressed and installed,
entry point: 0x3000
executing...
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
Cisco IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
Image text-base: 0x00003000, data-base: 0x00B53B10
Initializing flashfs...
flashfs[1]: 86 files, 4 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 12507648
flashfs[1]: Bytes available: 3491328
flashfs[1]: flashfs fsck took 9 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed
POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed
POST: CPU MIC PortASIC interface Loopback Tests : Begin
POST: CPU MIC PortASIC interface Loopback Tests : End, Status Passed
POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed
Waiting for Stack primary Election (around 20 seconds)...
POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed
POST: PortASIC Stack Port Loopback Tests : Begin
POST: PortASIC Stack Port Loopback Tests : End, Status Passed
POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed
Election Complete
Switch 2 booting as primary
Waiting for Port download...Complete
cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118784K/12280K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
1 Virtual Ethernet/IEEE 802.3 interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0D:BD:5C:16:80
Motherboard assembly number : 73-8307-06
Power supply part number : 341-0048-01
Motherboard serial number : CAT073205SU
Power supply serial number : DTH073004US
Model revision number : A0
Motherboard revision number : A0
Model number : WS-C3750G-12S-E
System serial number : CAT0732R0JU
Top Assembly Part Number : 800-23419-01
Top Assembly Revision Number : A0
Hardware Board Revision Number : 0x06
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 2 12 WS-C3750G-12S 12.2(20)SE C3750-I5-M
Press RETURN to get started!
00:00:57: %STACKMGR-6-SWITCH_ADDED: Switch 1 has been ADDED to the stack
00:00:57: %STACKMGR-6-SWITCH_ADDED: Switch 2 has been ADDED to the stack
00:01:27: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
00:01:27: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:01:30: %SYS-5-CONFIG_I: Configured from memory by console
00:01:30: %STACKMGR-6-SWITCH_READY: Switch 2 is READY
00:01:30: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 1 Switch 2 has changed to st
3750>
3750>ate UP
00:01:30: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 2 Switch 2 has changed to state UP
00:01:30: %STACKMGR-6-primary_READY: primary Switch 2 is READY
00:01:31: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
Cisco IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
00:01:32: %LINK-5-CHANGED: Interface GigabitEthernet2/0/1,
changed state to administratively
down
00:01:32: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
00:01:32: %LINK-5-CHANGED: Interface Vlan2, changed state to administratively down
00:01:35: %STACKMGR-6-SWITCH_READY: Switch 1 is READY
00:01:35: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to state UP
00:01:35: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 2 Switch 1 has changed to state UP
00:01:25: %STACKMGR-6-SWITCH_ADDED: Switch 1 has been ADDED to the stack (3750-1)
00:01:25: %STACKMGR-6-SWITCH_ADDED: Switch 2 has been ADDED to the stack (3750-1)
00:01:32: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan (3750-1)
00:01:35: %SYS-5-CONFIG_I: Configured from memory by console (3750-1)
00:01:35: %STACKMGR-6-SWITCH_READY: Switch 2 is READY (3750-1)
00:01:35: %STACKMGR-6-primary_READY: primary Switch 2 is READY (3750-1)
00:01:35: %STACKMGR-6-SWITCH_READY: Switch 1 is READY (3750-1)
00:01:36: %SYS-5-RESTART: System restarted -- (3750-1)
Cisco Internetwork Operating System
3750>
3750>Software (3750-1)
Cisco IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE
(fc1) (3750-1)
Copyright (c) 1986-2004 by Cisco Systems, Inc. (3750-1)
Compiled Wed 19-May-04 11:52 by yenanh (3750-1)
00:01:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/2, changed state to up
00:01:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/3, changed state to up
00:01:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/4, changed state to up
00:01:38: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/2, changed state to up
00:01:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/2, changed
state to up
00:01:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/3, changed
state to up
00:01:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/4, changed
state to up
00:01:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/2, changed
state to up
3750>
3750系列交換機堆疊Cisco IOS升級-手動(.tar映像)
本文檔的前一部分說明如何使用
archive download-sw 命令升級Cisco IOS。您還可以逐個交換機手動升級Cisco IOS,而不會斷開堆疊電纜。此方法的三個主要步驟是:
-
將.tar映像從TFTP伺服器複製到主交換機。
-
將.tar映像解壓縮到交換機的所有快閃記憶體檔案系統。
-
配置引導變數。
archive download-sw
命令在整個自動Cisco IOS升級過程中執行所有三個步驟。您還可以在Cisco IOS手動升級中執行這三個步驟。逐步區段會顯示如何升級至Cisco IOS軟體版本12.2(25)SEE1的範例。此範例的交換器堆疊包含三台交換器。交換機1是主交換機,交換機2和3是成員交換機。
逐步說明
步驟1 -下載.tar映像。
您需要確保主交換機的快閃記憶體中有足夠的可用空間。主交換機的空間量必須是.tar映像檔案大小的兩倍。需要此空間來儲存.tar檔案以及儲存您在步驟2中解壓縮的.tar檔案的內容。例如,如果.tar映像大小為10 Mb,您至少需要有20 Mb的可用空間。
3750-stack#copy tftp: flash:
Address or name of remote host []? 10.10.10.10
Source filename []? c3750-advipservicesk9-tar.122-25.SEE1.tar
Destination filename [c3750-advipservicesk9-tar.122-25.SEE1.tar]?
Accessing tftp://10.10.10.10/c3750-advipservicesk9-tar.122-25.SEE1.tar...
Loading c3750-advipservicesk9-tar.122-25.SEE1.tar from 10.10.10.10 (via Vlan10):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is suppressed.
步驟2 -提取.tar映像。
將.tar映像解壓縮到快閃記憶體檔案系統中的所有交換機。
archive tar /xtract 命令建立一個目錄並將檔案提取到新建立的目錄下。
以下是命令語法的範例:
3750-stack#archive tar /xtract <tar file name> <Dir to extract files>
請完成以下子步驟:
-
將.tar檔案解壓縮到switch1的快閃記憶體中。
3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar flash1:
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott.gif (957 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes)
!--- Output is suppressed.
-
將.tar檔案解壓縮到switch2的快閃記憶體中。
3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar flash2:
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott.gif (957 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes)
!--- Output is suppressed.
-
將.tar檔案解壓縮到switch3的快閃記憶體中。
3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar flash3:
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
.gif (957 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes)
!--- Output is suppressed.
步驟3 -配置引導變數。
將.tar檔案解壓縮到快閃記憶體後,您需要配置引導變數以指向新的Cisco IOS。您需要尋找擷取.bin檔案的路徑。
3750-stack#dir
Directory of flash:/
2 drwx192 Mar 11 1993 00:31:05 +00:00 c3750-advipservicesk9-mz.122-25.SEE1
!--- The archive tar /xtract command created this directory.
455 -rwx 114 Mar 11 1993 00:31:05 +00:00 info
457 -rwx 9433 Mar 1 1993 01:40:11 +00:00 config.text
458 -rwx 796 Mar 1 1993 00:02:39 +00:00 vlan.dat
459 -rwx 24 Mar 1 1993 01:40:11 +00:00 private-config.text
15998976 bytes total (5613056 bytes free)
3750-stack#dir flash:c3750-advipservicesk9-mz.122-25.SEE1
Directory of flash:/c3750-advipservicesk9-mz.122-25.SEE1/
3 -rwx 8169055 Mar 11 1993 00:29:52 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1.bin
4 drwx 4160 Mar 11 1993 00:30:29 +00:00 html
454 -rwx 709 Mar 11 1993 00:31:05 +00:00 info
15998976 bytes total (5613056 bytes free)
3750-stack#
boot system switch all 命令用於更改引導變數。
3750-stack(config)#boot system switch all flash:/c3750-advipservicesk9-mz.122-25.SEE1/c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory
步驟4 -重新載入並驗證。
重新載入交換器,並確認交換器在重新載入後執行新的Cisco IOS軟體版本:
!--- Reload the switch.
Switch#reload
Proceed with reload? [confirm]
!--- Verify the Cisco IOS software release of the switch after the reload.
3750-stack#show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)S
E1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 22-May-06 08:52 by yenanh
Image text-base: 0x00003000, data-base: 0x01255B58
!--- Output is suppressed.
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 28 WS-C3750G-24PS 12.2(25)SEE1 C3750-ADVIPSERVICESK
2 52 WS-C3750G-48TS 12.2(25)SEE1 C3750-ADVIPSERVICESK
3 26 WS-C3750-24TS 12.2(25)SEE1 C3750-ADVIPSERVICESK
!--- Verify the switch primary and member state:
3750-stack#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
*1 primary 0015.63f6.b700 5 Ready
2 Member 0015.c6c1.3000 2 Ready
3 Member 000f.f794.3d00 5 Ready
3750系列交換機堆疊Cisco IOS升級-手動(.bin映像)
3750交換機堆疊可透過Web裝置管理器或CLI進行管理。如果使用CLI管理交換機,則不需要.tar映像。本節介紹使用.bin映像進行Cisco IOS升級的方法。假設您已經使用Cisco IOS映像配置3750交換機堆疊。本節說明如何複製和升級3750交換器堆疊中的新Cisco IOS。
注意:命令
archive download-sw 和
archive upload-sw 僅適用於.tar映像檔案,不適用於.bin映像檔案。
此範例說明在Catalyst 3750交換器堆疊上升級至Cisco IOS軟體版本12.2(25)SEE2的分步程式。Catalyst 3750交換機堆疊中有兩台交換機,Cisco IOS映像位於TFTP伺服器172.22.1.165上。此輸出顯示堆疊成員和此堆疊中的主要成員:
Switch#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Member 0015.63f6.b700 5 Ready
*2 primary 0015.c6c1.3000 10 Ready
逐步說明
步驟1 -下載.bin映像。
請參閱軟體下載- Cisco Catalyst 3750軟體並找到您要下載的映象。Catalyst 3750的軟體下載中心包含適用於每個功能集和版本的兩組Cisco IOS映像。其中一組僅包含副檔名為.bin的Cisco IOS映像檔案。另一組包含Cisco IOS映像以及副檔名為.tar的基於Web的裝置管理器。
步驟2 -檢驗可用記憶體。
您可以分別驗證兩台交換機的快閃記憶體檔案系統中的可用記憶體,如以下示例輸出所示:
Switch#dir flash1:
Directory of flash1:/
2 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text
3 -rwx 623744 Jan 1 1970 00:12:28 +00:00 stardust0923
4 -rwx 796 Mar 1 1993 00:02:55 +00:00 vlan.dat
5 -rwx 623744 Jan 1 1970 00:32:09 +00:00 diag
6 -rwx 8169055 Mar 1 1993 00:43:34 +00:00 c3750-advipservicesk9-mz.
22-25.SEE1.bin
8 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text
462 -rwx 114 Mar 1 1993 00:32:19 +00:00 info
367 drwx 192 Mar 1 1993 00:32:19 +00:00 c3750-advipservicesk9-mz.
22-25.SEE1
32514048 bytes total (12754944 bytes free)
Switch#dir flash2:
Directory of flash:/
2 -rwx 4207104 Jan 1 1970 00:14:06 +00:00 c3750-i9-mz.122-20.SE4
3 -rwx 623744 Jan 1 1970 00:17:20 +00:00 stardust0923
4 -rwx 4207104 Jan 1 1970 00:19:44 +00:00 ios
5 -rwx 623744 Jan 1 1970 00:20:47 +00:00 diag 6 -rwx 8169055 Mar 21 1993 23:29:36 +00:00 c3750-advipservicesk9-mz.1 22-25.SEE1.bin 7 -rwx 796 Mar 1 1993 00:02:49 +00:00 vlan.dat 8 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text 10 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text 11 drwx 128 Mar 21 1993 23:25:53 +00:00 c3750-ipservicesk9-mz.122- 25.SEB1 32514048 bytes total (13071360 bytes free)
在Catalyst 3750交換機堆疊中,flash:代表主交換機的快閃記憶體檔案系統。在本例中,
dir flash: 命令顯示主交換機(交換機2)的內容,即flash2:。
步驟3 -將映像複製到快閃記憶體檔案系統。
將.bin映像從TFTP伺服器複製到兩台交換機的快閃記憶體檔案系統。
注意:自動升級(auto-upgrade)功能僅適用於.tar映像。
Switch#copy tftp: flash1:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2]? c3750-advipservicesk9-
.122-25.SEE2.bin
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is truncated.
[OK - 8172194 bytes]
8172194 bytes copied in 203.718 secs (40115 bytes/sec)
Switch#copy tftp: flash2:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is truncated.
[OK - 8172194 bytes]
8172194 bytes copied in 186.655 secs (43782 bytes/sec)
步驟4 -配置引導變數。
設定開機變數,以使用新複製的Cisco IOS來啟動交換器:
Switch(config)#boot system switch all flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
Switch(config)#exit
Switch#write memory
第5步-在重新載入之前進行驗證。
驗證開機變數:
Switch#show boot
BOOT path-list : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
!--- Primary switch.
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
-------------------
Switch 1
!--- Member switch.
-------------------
BOOT path-list : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : no
驗證新的Cisco IOS檔案是否存在於快閃記憶體中:
Switch#dir flash1:
Directory of flash1:/
2 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text
3 -rwx 623744 Jan 1 1970 00:12:28 +00:00 stardust0923
4 -rwx 796 Mar 1 1993 00:02:48 +00:00 vlan.dat
5 -rwx 623744 Jan 1 1970 00:32:09 +00:00 diag
6 -rwx 8169055 Mar 1 1993 00:43:34 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1.bin
7 -rwx 8172194 Mar 3 1993 22:31:35 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE2.bin
8 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text
462 -rwx 114 Mar 1 1993 00:32:19 +00:00 info
367 drwx 192 Mar 1 1993 00:32:19 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1
32514048 bytes total (4582400 bytes free)
Switch#dir flash: or dir flash2:
Directory of flash2:/
2 -rwx 4207104 Jan 1 1970 00:14:06 +00:00 c3750-i9-mz.122-20.SE4
3 -rwx 623744 Jan 1 1970 00:17:20 +00:00 stardust0923
4 -rwx 4207104 Jan 1 1970 00:19:44 +00:00 ios
5 -rwx 623744 Jan 1 1970 00:20:47 +00:00 diag 6 -rwx 8169055 Mar 21 1993 23:29:36 +00:00 c3750-advipservicesk9-mz.1 22-25.SEE1.bin 7 -rwx 796 Mar 1 1993 00:02:54 +00:00 vlan.dat 8 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text 9 -rwx 8172194 Mar 3 1993 22:42:06 +00:00 c3750-advipservicesk9-mz.1 22-25.SEE2.bin 10 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text 11 drwx 128 Mar 21 1993 23:25:53 +00:00 c3750-ipservicesk9-mz.122- 25.SEB1 32514048 bytes total (4898816 bytes free)
步驟6 -重新載入並驗證。
重新載入交換器,並在重新載入後驗證交換器是否執行新的Cisco IOS軟體版本:
!--- Reload the switch.
Switch#reload
Proceed with reload? [confirm]
!--- Verify the Cisco IOS software version of the switch after the reload.
Switch#show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)SE
E2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 28-Jul-06 12:55 by yenanh
Image text-base: 0x00003000, data-base: 0x01256754
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M), Version 12.2 [bkeene-flo_dsbu2 100]
Switch uptime is 33 minutes
System returned to ROM by power-on
System image file is "flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C3750G-48TS (PowerPC405) processor (revision 01) with 118784K/12280K by
tes of memory.
Processor board ID FOC0941U2SK
Last reset from power-on
3 Virtual Ethernet interfaces
132 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:15:C6:C1:30:00
!--- primary switch information.
Motherboard assembly number : 73-10218-04
Power supply part number : 341-0107-01
Motherboard serial number : FOC09400W9S
Power supply serial number : AZS093905HN
Model revision number : 01
Motherboard revision number : 02
Model number : WS-C3750G-48TS-S
System serial number : FOC0941U2SK
Top Assembly Part Number : 800-26857-01
Top Assembly Revision Number : 06
Version ID : V03
Hardware Board Revision Number : 0x03
!--- Verify that all the switches run the new Cisco IOS software version:
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24PS 12.2(25)SEE2 C3750-ADVIPSERVICESK
* 2 52 WS-C3750G-48TS 12.2(25)SEE2 C3750-ADVIPSERVICESK
Switch 01
!--- Member switch information.
---------
Switch Uptime : 33 minutes
Base ethernet MAC Address : 00:15:63:F6:B7:00
Motherboard assembly number : 73-10217-03
Power supply part number : 341-0108-02
Motherboard serial number : FOC09382V48
Power supply serial number : DCA09330W5E
Model revision number : 01
Motherboard revision number : 04
Model number : WS-C3750G-24PS-E
System serial number : FOC0939U17V
Top assembly part number : 800-27482-01
Top assembly revision number : 01
Version ID : V03
Configuration register is 0xF
!--- Verify the switch primary and member state:
Switch#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Member 0015.63f6.b700 5 Ready
*2 primary 0015.c6c1.3000 10 Ready
驗證
本節有助於確認您的組態是否正常運作。
Cisco CLI Analyzer支援某些
show 指令,您可從中檢視
show 指令輸出的
分析。
附註:只有完成註冊的思科使用者能存取思科內部工具與資訊。
-
show switch detail — 驗證是否所有交換機都已就緒。
-
show version — 驗證堆疊中的所有交換器是否未執行新的程式碼版本。
3750#show switch detail
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Slave 000c.30ae.4f00 9 Ready
*2 primary 000d.bd5c.1680 15 Ready
Stack Port Status Neighbors
Switch# Port 1 Port 2 Port 1 Port 2
--------------------------------------------------------
1 Ok Ok 2 2
2 Ok Ok 1 1
!--- The show version command now reflects the new code revision, as expected.
3750#show version
Cisco Internetwork Operating System Software
Cisco IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
Image text-base: 0x00003000, data-base: 0x00B53B10
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)
3750 uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin"
cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118784K/12280K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3 interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0D:BD:5C:16:80
Motherboard assembly number : 73-8307-06
Power supply part number : 341-0048-01
Motherboard serial number : CAT073205SU
Power supply serial number : DTH073004US
Model revision number : A0
Motherboard revision number : A0
Model number : WS-C3750G-12S-E
System serial number : CAT0732R0JU
Top Assembly Part Number : 800-23419-01
Top Assembly Revision Number : A0
Hardware Board Revision Number : 0x06
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24TS 12.2(20)SE C3750-I5-M
* 2 12 WS-C3750G-12S 12.2(20)SE C3750-I5-M
Switch 01
---------
Switch Uptime : 2 minutes
Base ethernet MAC Address : 00:0C:30:AE:4F:00
Motherboard assembly number : 73-7058-07
Power supply part number : 341-0045-01
Motherboard serial number : CSJ0708020N
Power supply serial number : LIT07050027
Model revision number : 01
Motherboard revision number : 03
Model number : WS-C3750G-24TS-E
System serial number : CSJ0711U03G
Configuration register is 0xF
疑難排解
本節提供的資訊可用於對組態進行疑難排解。
從TFTP伺服器傳輸映象失敗或損壞的Cisco IOS映象
如果您發現從TFTP伺服器傳輸映象持續失敗,請參閱解決常見映象安裝問題。本文檔為TFTP伺服器的已知問題提供了解決方案。
您收到Error_Bad_Mzip錯誤消息
當Cisco IOS映像損壞或.tar檔案透過Xmodem上傳時,您將看到此錯誤。為了解決此問題,請完成以下步驟:
-
透過Xmodem將.bin檔案上傳到交換機。
-
將啟動路徑設定為正確的檔案名稱。
-
重新載入交換器。
-
檢查影象檔案大小是否正確。
如果映像檔案大小不正確,請嘗試再次下載映像檔案。
請參閱這些檔案以檢查復原程式:
%打開flash:update/info時出錯(無此類檔案或目錄)
交換機在軟體升級期間報告此錯誤消息:
Stack_Switch1#archive download-sw
tftp://10.1.1.2/c3750-advipservicesk9-tar.122-25.SEE1.tar
Could not buffer tarfile...using multiple downloads
examining image...
%Error opening tftp://10.1.1.2/c3750-advipservicesk9-tar.122-25.SEE1.tar (Timed out)
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid Cisco IOS image archive
完成以下步驟以辨識並解決問題:
-
確保您能夠從交換機ping TFTP伺服器IP地址。
-
驗證您的TFTP伺服器是否正常工作,如果可能,請嘗試其他的TFTP伺服器。
-
如果從快閃記憶體中刪除任何舊資訊目錄,請將其刪除。
-
如果錯誤訊息持續出現,請格式化快閃記憶體並重新載入交換器。格式化後,交換機可以啟動進入ROMMON模式。如果交換機啟動進入ROMMON模式,則使用Xmodem恢復交換機。
堆疊中的交換器無法啟動新映像(版本不符)
在Cisco IOS升級之後,任何一台或多台交換機都不會使用新映像啟動。或者,將交換器新增至目前堆疊時,且新增的交換器的Cisco IOS軟體版本與目前交換器堆疊不同時,則表示新交換器無法使用。3750交換機堆疊有一個稱為auto-upgrade的功能,該功能在預設情況下已啟用。此功能可讓交換器堆疊自動升級新增交換器上的Cisco IOS。有時,此自動升級無法升級新增加的交換機的Cisco IOS。將交換器新增至目前堆疊時,會顯示此訊息順序。
1w2d: %IMAGEMGR-6-AUTO_COPY_SW_INITIATED: Auto-copy-software process initiated
for switch number(s) 3
1w2d: %IMAGEMGR-6-AUTO_COPY_SW:
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Searching for stack member to act
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: as software donor...
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Found donor (system #1) for
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: member(s) 3
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: System software to be uploaded:
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: System Type: 0x00000000
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Warning: Unable to determine image running
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Software could not be copied to
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: system(s) 3
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Software was not copied
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW_INITIATED: Auto-advise-software process initiat
ed for switch number(s) 3
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: Systems with incompatible software
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: have been added to the stack. The
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: software running on all of the stack
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: members has been scanned, and it has
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: been determined that the stack can be
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: repaired by issuing the following
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: command(s):
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: archive copy-sw /force-reload /overwrite /
dest 3 1
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
3750-stack#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
*1 primary 0015.63f6.b700 5 Ready
2 Member 0015.c6c1.3000 2 Ready
3 Member 000f.f794.3d00 5 Version Mismatch
注意:必須啟用自動升級功能,才能在版本不匹配(VM)模式下升級交換機。自動升級功能預設為啟用。可以使用
show boot privileged EXEC命令檢查auto-upgrade的狀態,並在顯示中檢查auto-upgrade行。您可以在堆疊主要上使用
no boot auto-copy-sw global configuration指令停用自動升級。有關詳細資訊,請參閱瞭解Auto-Upgrade和Auto-Advise。
有三種不同的方法可以解決版本不相符的問題:
方法1 - .tar影象
使用
archive copy-sw 特權EXEC命令升級包含不相容軟體映像的成員交換機。此指令會將軟體映像從目前堆疊成員複製到具有不相容軟體的堆疊成員。受影響的交換器會自動重新載入,並作為功能完整的成員加入堆疊。
下面的輸出顯示
archive copy-sw 命令的語法:
3750_Stack#archive copy-sw ?
/destination-system specify destination system to receive software
/force-reload Unconditionally reload system after successful sw
upgrade
/leave-old-sw Leave old sw installed after successful sw upgrade
/no-set-boot do not update BOOT setting on systems after installing
sw
/overwrite OK to overwrite an existing image
/reload Reload system (if no unsaved config changes) after
successful sw upgrade
/safe Always load before deleting old version
1 copy software from system 1
2 copy software from system 2
3 copy software from system 3
-
對於/destination-system destination-stack-member-number,請指定需要將運行映像檔案的源複製到的堆疊成員的數量。如果您未指定堆疊成員編號,則依預設會將執行中的映像檔複製到所有堆疊成員。
-
指定/force-reload可在成功下載軟體映像後無條件地強制系統重新載入。如果不想使用/force-reload,請手動重置更新的堆疊成員withreload slot switch_member_number,使此配置更改生效。
-
對於source-stack-member-number,請指定要從中複製運行的映像檔案的堆疊成員數量。堆疊成員編號範圍是1到9。
-
如果在重新載入期間收到表明存在超載情況的syslog消息,請發出archive copy-sw /overwrite /destination-system命令以使用下載的映像覆蓋快閃記憶體中的軟體映像。
以下是
archive copy-sw 命令的示例:
-
此 archive copy-sw 命令將當前運行的Cisco IOS映像從3750交換機堆疊中的交換機1複製到交換機3。
archive copy-sw /overwrite /destination-system 3 1
-
重新載入交換器成員3。
reload slot 3
方法2 - .tar影象
如果您使用裝置管理員來管理交換器堆疊,就可以使用此方法。將.tar映像解壓縮到新增交換器的快閃檔案系統中。假設交換器上已經有.tar映像。如果不可用,您可以從頁面下載Cisco Catalyst 3750軟體,並使用TFTP複製到交換機。軟體下載站點。
附註:只有完成註冊的思科使用者有權存取思科內部工具與資訊。
3750-stack#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
*1 primary 0015.63f6.b700 5 Ready
2 Member 0015.c6c1.3000 2 Ready
3 Member 000f.f794.3d00 5 Version Mismatch
!--- Switch 3 is displayed as a version mismatch.
!--- You need to extract the .tar image to flash3:
3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar flash3:
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott.gif (957 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes)
!--- Output is suppressed.
在新交換機上配置引導變數。此步驟不是必需的。但是,如果將來斷開此交換機與堆疊的連線,交換機將無法引導正確的Cisco IOS。
3750-stack#configure terminal
3750-stack(config)#boot system switch 3 flash:/c3750-advipservicesk9-mz.122-25.SEE1/c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory
重新載入交換器成員3。
3750-stack#reload slot 3
方法3 - .bin影象
將.bin檔案從主要交換器複製到新增的交換器,設定開機變數,然後重新載入交換器。
3750-stack#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
*1 primary 0015.63f6.b700 5 Ready
2 Member 0015.c6c1.3000 2 Ready
3 Member 000f.f794.3d00 5 Version Mismatch
!--- Switch 3 is displayed as a version mismatch.
!--- You need to copy the .bin image to flash3:
3750-stack#copy c3750-advipservicesk9-mz.122-25.SEE1.bin flash3:
3750-stack#configure terminal
3750-stack(config)#boot system switch 3 flash:/
c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory
3750-stack#reload slot 3
錯誤消息
tftp中有%Tar校驗和錯誤
使用
archive 命令升級軟體映像時,將顯示此錯誤消息:
3750_switch#archive download-sw tftp://10.1.1.1/c3750-ipbase-mz.122-25.SEC.bin
Loading c3750-ipbase-mz.122-25.SEC.bin from 10.1.1.1 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 5683384 bytes]
Loading c3750-ipbase-mz.122-25.SEC.bin from 10.1.1.1 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 5683384 bytes]
examining image...
%Tar checksum error in tftp://10.1.1.1/c3750-ipbase-mz.122-25.SEC.bin
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid Cisco IOS image archive.
此錯誤消息的原因是
archive 命令是用於.tar檔案的,無法用於.bin檔案。要使用.bin檔案升級,請使用
copy 命令。
使用不同的功能集升級Cisco IOS軟體
預設情況下,Cisco Catalyst 3750系列允許在升級到更高的Cisco IOS版本時更改功能集。
Error: The image in the archive which would be used to upgrade
Error: system number [dec] does not support the same feature set.
要解決此問題,請在執行
archive-download-sw 命令時使用
allow-feature-upgrade 標誌。
archive-download-sw /allow-feature-upgrade
只有Cisco IOS版本12.2(35) SE或更高版本支援此選項。
相關資訊
修訂 | 發佈日期 | 意見 |
---|---|---|
3.0 |
26-Jan-2024 |
重新認證 |
2.0 |
12-Jan-2023 |
連結已更新,格式已更新,拼寫錯誤已更正。重新認證。 |
1.0 |
16-May-2005 |
初始版本 |