날짜: 03-28-2023 05:18 PM
c9800 CLI 에서 다음과 같은 순서로 버전 업그레이드 합니다.
Command: install remove inactive
예:
98wlc#install remove inactive
install_remove: START Mon Sep 27 07:26:56 UTC 2021
*Sep 27 07:26:57.575: %INSTALL-5-INSTALL_START_INFO: Chassis 1 R0/0: install_engine: Started install removeCleaning up unnecessary package files
No path specified, will use booted path bootflash:packages.conf
Cleaning bootflash:
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
C9800-L-mono-universalk9_wlc.16.12.04a.SPA.pkg
File is in use, will not delete.
C9800-L-rpboot.16.12.04a.SPA.pkg
File is in use, will not delete.
packages.conf
File is in use, will not delete.
done.
The following files will be deleted:
[chassis 1]:
/bootflash/C9800-L-hw-programmables.16.12.04a.SPA.pkg
/bootflash/C9800-L-mono-universalk9_wlc.17.05.01.SPA.pkg
/bootflash/C9800-L-rpboot.17.05.01.SPA.pkg
/bootflash/C9800-L-universalk9_wlc.16.12.04a.SPA.bin
/bootflash/C9800-L-universalk9_wlc.16.12.04a.SPA.conf
Do you want to remove the above files? [y/n]y
[chassis 1]:
Deleting file bootflash:C9800-L-hw-programmables.16.12.04a.SPA.pkg ... done.
Deleting file bootflash:C9800-L-mono-universalk9_wlc.17.05.01.SPA.pkg ... done.
Deleting file bootflash:C9800-L-rpboot.17.05.01.SPA.pkg ... done.
Deleting file bootflash:C9800-L-universalk9_wlc.16.12.04a.SPA.bin ... done.
Deleting file bootflash:C9800-L-universalk9_wlc.16.12.04a.SPA.conf ... done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing Post_Remove_Cleanup on all members
[1] Post_Remove_Cleanup package(s) on chassis 1
[1] Finished Post_Remove_Cleanup on chassis 1
Checking status of Post_Remove_Cleanup on [1]
Post_Remove_Cleanup: Passed on [1]
Finished Post_Remove_Cleanup
SUCCESS: install_remove Mon Sep 27 07:29:25 UTC 2021
Command: copy tftp://<TFTP Server IP>/<image name> flash:
예:
98wlc#copy tftp://192.168.100.245/C9800-L-universalk9_wlc.16.12.05.SPA.bin flash:
Destination filename [C9800-L-universalk9_wlc.16.12.05.SPA.bin]?
Accessing tftp://192.168.100.245/C9800-L-universalk9_wlc.16.12.05.SPA.bin...
Loading C9800-L-universalk9_wlc.16.12.05.SPA.bin from 192.168.100.245 (via Vlan100): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 959214528 bytes]
959214528 bytes copied in 1563.134 secs (613648 bytes/sec)
Command: dir flash:*.bin
예:
98wlc#dir flash:*.bin
Directory of bootflash:/*.bin
Directory of bootflash:/
12 -rw- 959214528 Sep 27 2021 08:06:07 +00:00 C9800-L-universalk9_wlc.16.12.05.SPA.bin
26458804224 bytes total (23021490176 bytes free)
Command: install add file bootflash:image activate commit
예:
98wlc#install add file bootflash:C9800-L-universalk9_wlc.16.12.05.SPA.bin activate commit
install_add_activate_commit: START Mon Sep 27 08:09:47 UTC 2021
System configuration has been modified.
Press Yes(y) to save the configuration and proceed.
Press No(n) for proceeding without saving the configuration.
Press Quit(q) to exit, you may save configuration and re-enter the command. [y/n/q]yBuilding configuration...
[OK]Modified configuration has been saved
*Sep 27 08:10:00.285: %SYS-2-PRIVCFG_ENCRYPT: Successfully encrypted private config file
*Sep 27 08:10:01.735: %INSTALL-5-INSTALL_START_INFO: Chassis 1 R0/0: install_engine: Started install one-shot bootflash:C9800-L-universalk9_wlc.16.12.05.SPA.bininstall_add_activate_commit: Adding PACKAGE
install_add_activate_commit: Checking whether new add is allowed ....
--- Starting initial file syncing ---
Info: Finished copying bootflash:C9800-L-universalk9_wlc.16.12.05.SPA.bin to the selected chassis
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
[1] Add package(s) on chassis 1
[1] Finished Add on chassis 1
Checking status of Add on [1]
Add: Passed on [1]
Finished Add
Image added. Version: 16.12.5.0.5625
install_add_activate_commit: Activating PACKAGE
Following packages shall be activated:
/bootflash/C9800-L-rpboot.16.12.05.SPA.pkg
/bootflash/C9800-L-mono-universalk9_wlc.16.12.05.SPA.pkg
/bootflash/C9800-L-hw-programmables.16.12.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
--- Starting list of software package changes ---
Old files list:
Removed C9800-L-mono-universalk9_wlc.16.12.04a.SPA.pkg
Removed C9800-L-rpboot.16.12.04a.SPA.pkg
New files list:
Added C9800-L-mono-universalk9_wlc.16.12.05.SPA.pkg
Added C9800-L-rpboot.16.12.05.SPA.pkg
Finished list of software package changes
[1] Finished Activate on chassis 1
Checking status of Activate on [1]
Activate: Passed on [1]
Finished Activate
*Sep 27 08:19:02.632: %INSTALL-5-INSTALL_AUTO_ABORT_TIMER_PROGRESS: Chassis 1 R0/0: rollback_timer: Install auto abort timer will expire in 21600 seconds--- Starting Commit ---
Performing Commit on all members
[1] Commit package(s) on chassis 1
[1] Finished Commit on chassis 1
Checking status of Commit on [1]
Commit: Passed on [1]
Finished Commit
Install will reload the system now!
SUCCESS: install_add_activate_commit Mon Sep 27 08:19:50 UTC 2021
Command: show version & show install summary
예:
98wlc#show version
Cisco IOS XE Software, Version 16.12.05
Cisco IOS Software [Gibraltar], C9800 Software (C9800_IOSXE-K9), Version 16.12.5, RELEASE SOFTWARE (fc3)
98wlc#show install summary
[ Chassis 1 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 16.12.5.0.5625
* show install summary로 다음과 같이 St가 U로 표기되는 경우 commit을 완료 할 수 없기에 install commit을 통하여 commit을 완료해야 합니다.
98wlc#show install summary
[ Chassis 1 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG U 16.12.04a.0.9
감사합니다.
상단의 검색창에 키워드, 문구, 또는 질문을 입력하여 궁금한 내용을 찾아보세요.
이곳에서의 여러분의 여정이 훌륭하기를 바랍니다! 시스코 커뮤니티에 빠르게 익숙해지는 데 도움이 되는 몇 가지 링크를 준비했습니다.