本檔案將說明如何在Catalyst 9800無線控制器(WLC)上的不同安裝模式之間變更。
思科建議您瞭解以下主題:
Catalyst 9800無線LAN控制器和存取點(AP)平台
本檔案中的資訊是根據以下軟體和硬體版本:
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
使用本檔案來學習如何透過指令行介面(CLI)在Catalyst 9800無線控制器(WLC)上的不同型別的安裝模式之間進行轉換。
此程式也可用於升級9800 WLC。
您可以透過兩種方式在Catalyst 9800 WLC上以套件組合和安裝模式下執行Cisco IOS® XE。
安裝模式使用從二進位制檔案中預先提取的.pkg檔案到快閃記憶體中,以啟動控制器解鎖多個在套件組合模式下不可用的關鍵架構功能。控制器使用從packages.conf提取操作建立的檔案作為引導變數。使用此模式時,控制器比套件組合模式開機時間更快,耗用的RAM更少。
如果控制器使用二進位制映像(.bin)作為啟動變數進行啟動,則系統在套件組合模式下工作。在此模式下,控制器會將.bin檔案擷取到RAM中,並從該檔案中執行。
此模式使用比安裝模式更多的記憶體,因為從啟動中提取的軟體包被複製到RAM中。
驗證9800 WLC的操作模式,以確定在模式之間轉換時必須執行的程式。
運行命show version | include Installation mode令檢視當前安裝模式。
WLC#show version | include Installation mode
Installation mode is INSTALL
步驟1.確保快閃記憶體中有足夠的空間,以便擴展新映像。
WLC#show bootflash:
...
277 42838080 Oct 08 2025 14:22:06.0000000000 +00:00 wlc9500C-rpboot.2025-10-05_08.14_prabhask.SSA.pkg
279 19921673 Dec 13 2025 19:27:45.0000000000 +00:00 system-report_20251213-192546-Pacific.tar.gz
235937792 bytes available (5746528256 bytes used)
步驟2.在空間不足時清理舊安裝檔案,以便丟棄新增的舊軟體包。
WLC#install remove inactive
install_remove: START Mon Jun 08 22:31:01 Central 2026
install_remove: Removing IMG
Cleaning up unnecessary package files
No path specified, will use booted path /tmp/sw/isos/packages.conf
Cleaning /bootflash
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.05.SPA.bin File is in use, will not delete.
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.05.SPA.conf File is in use, will not delete.
The following files will be deleted:
[R0]: /bootflash/packages.conf
[R0]: /bootflash/C9800-L-universalk9_wlc.17.12.04.Cisco bug ID CSCwn02956.SPA.apsp.bin
[R0]: /bootflash/C9800-L-rommon.1612-3r.pkg
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.03.SPA.bin
[R0]: /bootflash/C9800-L-mono-universalk9_wlc.17.15.03.SPA.pkg
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.03.SPA.conf
[R0]: /bootflash/C9800-L-rpboot.17.15.03.SPA.pkg
[R0]: /bootflash/C9800-L-universalk9_wlc.17.09.06.SPA.bin
[R0]: /bootflash/C9800-L-mono-universalk9_wlc.17.09.06.SPA.pkg
[R0]: /bootflash/C9800-L-rpboot.17.09.06.SPA.pkg
[R0]: /bootflash/C9800-L-universalk9_wlc.17.09.06.SPA.conf
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.03.Cisco bug ID CSCwp18505.SPA.apsp.bin
[R0]: /bootflash/C9800-L-mono-universalk9_wlc.17.12.04.SPA.pkg
[R0]: /bootflash/C9800-L-rpboot.17.12.04.SPA.pkg
[R0]: /bootflash/C9800-L-mono-universalk9_wlc.17.15.05.SPA.pkg
[R0]: /bootflash/C9800-L-rpboot.17.15.05.SPA.pkg
Do you want to remove the above files? [y/n]y
Deleting file /bootflash/packages.conf ... done.
Deleting file /bootflash/C9800-L-universalk9_wlc.17.12.04.Cisco bug ID CSCwn02956.SPA.apsp.bin ... done.
Deleting file /bootflash/C9800-L-rommon.1612-3r.pkg ... done.
Deleting file /bootflash/C9800-L-universalk9_wlc.17.15.03.SPA.bin ... done.
Deleting file /bootflash/C9800-L-mono-universalk9_wlc.17.15.03.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-universalk9_wlc.17.15.03.SPA.conf ... done.
Deleting file /bootflash/C9800-L-rpboot.17.15.03.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-universalk9_wlc.17.09.06.SPA.bin ... done.
Deleting file /bootflash/C9800-L-mono-universalk9_wlc.17.09.06.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-rpboot.17.09.06.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-universalk9_wlc.17.09.06.SPA.conf ... done.
Deleting file /bootflash/C9800-L-universalk9_wlc.17.15.03.Cisco bug ID CSCwp18505.SPA.apsp.bin ... done.
Deleting file /bootflash/C9800-L-mono-universalk9_wlc.17.12.04.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-rpboot.17.12.04.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-mono-universalk9_wlc.17.15.05.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-rpboot.17.15.05.SPA.pkg ... done.
Deleting /flash/.images/17.15.02.0.4538.1732779336 ... /flash/.images/17.15.05.0.8370.1771573356 done.
Deleting /flash/.images/17.12.04.0.31.1732211533 ... /flash/.images/17.15.05.0.8370.1771573356 done.
Deleting /flash/.images/17.15.03.0.5635.1742971301 ... /flash/.images/17.15.05.0.8370.1771573356 done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing REMOVE_POSTCHECK on all members
Finished Post_Remove_Cleanup
SUCCESS: install_remove Mon Jun 08 22:31:17 Central 2026
WLC#dir bootflash: | i bytes
26458804224 bytes total (18033250304 bytes free)
步驟3.將新映像複製到快閃記憶體。
WLC#copy tftp: bootflash:
Address or name of remote host []? 10.152.200.238
Source filename []? C9800-L-universalk9_wlc.17.15.05.SPA.bin
Destination filename [C9800-L-universalk9_wlc.17.15.05.SPA.bin]?
Accessing tftp://10.152.200.238/C9800-L-universalk9_wlc.17.15.05.SPA.bin...
Loading C9800-L-universalk9_wlc.17.15.05.SPA.bin from 10.152.200.238 (via Vlan210): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
步驟4.確認映像已成功複製到快閃記憶體,並驗證映像的完整性。
WLC#dir bootflash:*.bin
Directory of bootflash:/*.bin
Directory of bootflash:/
95 -rw- 1635303343 Jun 5 2026 23:24:36 +00:00 C9800-L-universalk9_wlc.17.15.05.SPA.bin.SPA.bin
WLC#verify /md5 bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin
........................................................................
........................................................................
........................................................................
........................................................................Done!
verify /md5 (bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin) = 9fb93d840278a5de2b454ade1016ddce
將結果與思科軟體下載站點上目標映像的版本詳細資訊中提供的MD5校驗和進行比較,值必須完全匹配。

步驟5.檢查目前的開機變數,如果變數設定為packages.conf,則WLC目前以安裝模式執行。若要轉換為套件組合模式,請刪除現有的開機變數,並將.bin 映像設定為新的開機變數。進行這些變更後,必須儲存組態;否則,重新載入後,新的開機變數不會持續。
WLC#show bootvar
BOOT variable = bootflash:packages.conf,12;
CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x2102
WLC#conf t
WLC(config)#no boot system
WLC(config)#do write
WLC(config)#boot system bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin
WLC(config)#do write
WLC(config)#end
步驟6.運行此命令,以驗證引導變數是否設定為bootflash:。
此時將顯示輸出 BOOT variable = bootflash:
WLC#show bootvar
BOOT variable = bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x102
Standby not ready to show bootvar
步驟7.重新載入控制器,以便以套件組合模式啟動。
WLC#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]
步驟8.監控WLC初始化流程,確認其在套件組合模式下啟動。
...
32768K bytes of non-volatile configuration memory.
16777216K bytes of physical memory.
26251263K bytes of eUSB flash at bootflash:.
0K bytes of Cloud S3 Storage at cloudfs:.
Base Ethernet MAC Address : FF:FF:FF:FF:FF:FF
Installation mode is BUNDLE
步驟1.檢驗當前模式。導覽至Administration > Software Management > Software Upgrade,確認Upgrade Mode表示系統目前處於安裝模式。

步驟2.按一下Upgrade Mode中可用的下拉式清單,然後選擇Bundle。然後選擇Transport Type,然後選擇.bin檔案的File Path,再選擇Download。

步驟3.確認系統重新載入許可。此時會開始轉換為套件組合模式。

步驟4.在右側的「Status」部分監控升級,並彈出視窗Show Logs。


步驟5.驗證映像。


步驟6.儲存組態並確認重新載入。


步驟7.監控WLC重新載入,一旦GUI可用,請導覽至管理>軟體管理>軟體升級。觀察升級模式表示系統當前在套件組合模式下運行。

步驟1.確保快閃記憶體中有足夠的空間,以便擴展新映像。
WLC#dir bootflash: | i bytes free
26458804224 bytes total (9501368320 bytes free)
步驟2.在空間不足時清理舊安裝檔案,以便丟棄新增的舊軟體包。
WLC#install remove inactive
install_remove: START Tue Jun 09 21:21:34 Central 2026
install_remove: Removing IMG
Cleaning up unnecessary package files
No path specified, will use booted path /tmp/sw/isos/packages.conf
Cleaning /bootflash
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
[R0]: /bootflash/packages.conf File is in use, will not delete.
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.05.SPA.bin File is in use, will not delete.
[R0]: /bootflash/C9800-L-universalk9_wlc.17.15.05.SPA.conf File is in use, will not delete.
The following files will be deleted:
[R0]: /bootflash/C9800-L-mono-universalk9_wlc.17.15.05.SPA.pkg
[R0]: /bootflash/C9800-L-rpboot.17.15.05.SPA.pkg
Do you want to remove the above files? [y/n]y
Deleting file /bootflash/C9800-L-mono-universalk9_wlc.17.15.05.SPA.pkg ... done.
Deleting file /bootflash/C9800-L-rpboot.17.15.05.SPA.pkg ... done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing REMOVE_POSTCHECK on all members
Finished Post_Remove_Cleanup
SUCCESS: install_remove Tue Jun 09 21:22:08 Central 2026
WLC#dir bootflash: | i bytes free 26458804224 bytes total (19666468864 bytes free)
步驟3.將新映像複製到快閃記憶體。
WLC#copy tftp: flash:
Address or name of remote host []? 10.152.200.238
Source filename []? C9800-L-universalk9_wlc.17.15.05.SPA.bin
Destination filename [C9800-L-universalk9_wlc.17.15.05.SPA.bin]?
Accessing tftp://10.152.200.238/C9800-L-universalk9_wlc.17.15.05.SPA.bin...
Loading C9800-L-universalk9_wlc.17.15.05.SPA.bin from 10.152.200.238 (via Vlan210): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
步驟4.確認映像已成功複製到快閃記憶體,並驗證映像的完整性。
WLC#dir bootflash:*.bin
Directory of bootflash:/*.bin
Directory of bootflash:/
95 -rw- 1635303343 Jun 5 2026 23:24:36 +00:00 C9800-L-universalk9_wlc.17.15.05.SPA.bin.SPA.bin
WLC#verify /md5 bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin
........................................................................
........................................................................
........................................................................
........................................................................Done!
verify /md5 (bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin) = 9fb93d840278a5de2b454ade1016ddce
將結果與思科軟體下載站點上目標映像的版本詳細資訊中提供的MD5校驗和進行比較,值必須完全匹配。

步驟5.檢查當前引導變數。如果變數指向.bin檔案,則系統當前正以捆綁包模式運行。此步驟不需要手動配置引導變數;在升級過程中,安裝過程會自動將其更bootflash:packages.conf新到。
WLC#show bootvar
BOOT variable = bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x102
Standby not ready to show bootvar
步驟6.將軟體安裝映像安裝到快閃記憶體。對於從套件組合到安裝模式的轉換,請使用單一CLI install add file bootflash:命令。
WLC#install add file bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin activate commit
步驟7.鍵入y (yes),表示系統重新載入同意。 安裝完成後,控制器會繼續進行重新載入。
install_add_activate_commit: START Mon Jun 08 22:53:20 Central 2026
install_add: START Mon Jun 08 22:53:20 Central 2026
install_add: Adding IMG
--- Starting initial file syncing ---
Copying bootflash:C9800-L-universalk9_wlc.17.15.05.SPA.bin from Chassis 1/R0 to Chassis 1/R0
Info: Finished copying to the selected Chassis
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
Checking status of Add on [1/R0]
Add: Passed on [1/R0]
Image added. Version: 17.15.05.0.8370
Finished Add
install_activate: START Mon Jun 08 22:53:59 Central 2026
install_activate: Activating IMG
Following packages shall be activated:
/bootflash/C9800-L-mono-universalk9_wlc.17.15.05.SPA.pkg
/bootflash/C9800-L-rpboot.17.15.05.SPA.pkg
This operation may require a reload of the system. Do you want to proceed? [y/n]y
--- Starting Activate ---
Performing Activate on all members
[1] Activate package(s) on Chassis 1/R0
[1] Finished Activate on Chassis 1/R0
Checking status of Activate on [1/R0]
Activate: Passed on [1/R0]
Finished Activate
--- Starting Commit ---
Performing Commit on all members
[1] Commit package(s) on Chassis 1/R0
[1] Finished Commit on Chassis 1/R0
Checking status of Commit on [1/R0]
Commit: Passed on [1/R0]
Finished Commit operation
SUCCESS: install_add_activate_commit Mon Jun 08 22:55:34 Central 2026
Initializing Hardware ...
步驟8.監控WLC初始化過程,確認其在安裝模式下啟動。
...
32768K bytes of non-volatile configuration memory.
16777216K bytes of physical memory.
26251263K bytes of eUSB flash at bootflash:.
0K bytes of Cloud S3 Storage at cloudfs:.
Base Ethernet MAC Address : FF:FF:FF:FF:FF:FF
Installation mode is INSTALL
步驟1.檢驗當前模式。導覽至Administration > Software Management > Software Upgrade,確認Upgrade Mode表示系統目前處於套件組合模式。

步驟2.按一下Upgrade Mode中可用的下拉式清單,然後選擇Install。然後選擇Transport Type,然後選擇.bin檔案的File Path,然後選擇Download & Install。

步驟3.確認系統重新載入許可。此時會啟動「轉換為安裝模式」。

步驟4.在右側的「Status」部分監控升級,並彈出視窗Show Logs。

系統作為提交更改的一部分重新載入。

步驟5.監控WLC重新載入,一旦GUI可用,請導覽至管理>軟體管理>軟體升級。觀察Upgrade Mode指示系統當前以安裝模式運行。

使用本節內容,確認您的組態是否正常運作。
控制器重新啟動後,您可以驗證控制器的當前安裝模式。運行show version命令以確認轉換成功。
WLC#show version | include System image|Installation mode|IOS XE Software
Cisco IOS XE Software, Version 17.15.05
System image file is "bootflash:packages.conf"
Installation mode is INSTALL
WLC#show version | include System image|Installation mode|IOS XE Software
Cisco IOS XE Software, Version 17.15.05
System image file is "bootflash:/C9800-L-universalk9_wlc.17.15.05.SPA.bin"
Installation mode is BUNDLE
目前尚無特定資訊可用於排解此組態的疑難問題。
| 修訂 | 發佈日期 | 意見 |
|---|---|---|
3.0 |
11-Jun-2026
|
已新增Alt文本。已更新樣式要求和格式。 |
2.0 |
30-Nov-2023
|
重新認證 |
1.0 |
15-Apr-2021
|
初始版本 |