バージョンアップコマンドも変わっております。
さて、今回は16.6.1から16.6.2へのバージョンアップ手順。
機器はCisco Catalyst9300のStack仕様
ちなみに、16.5は
Switch# request platform software package
だそうで、ご注意を。
基本的にはリリースノートに沿ったやり方のメモ。
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-6/release_notes/ol-16-6-9300.html#pgfId-1450134
C9300#show ver
Cisco IOS XE Software, Version 16.06.01
~略~
まずはIOSをflashにコピー
今回はUSBメモリから。
copy usbflash0:cat9k_iosxe.16.06.02.SPA.bin flash
Destination filename [cat9k_iosxe.16.06.02.SPA.bin]?
Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCC
596369748 bytes copied in 67.596 secs (8822560 bytes/sec)
Copyが完了したらInstall実施。
C9300#install add file flash:cat9k_iosxe.16.06.02.SPA.bin activate commit
install_add_activate_commit: START Wed Dec 13 14:00:38 JST 2017
000162: Dec 13 14:00:39.148 JST: %IOSXE-5-PLATFORM: Switch 1 R0/0: Dec 13 14:00: install one-shot flash:cat9k_iosxe.16.06.02.SPA.bininstall_add_activate_commit:
--- Starting initial file syncing ---
[1]: Copying flash:cat9k_iosxe.16.06.02.SPA.bin from switch 1 to switch 2
[2]: Finished copying to switch 2
Info: Finished copying flash:cat9k_iosxe.16.06.02.SPA.bin to the selected switch
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
000163: Dec 13 14:01:41.395 JST: %IOSD_INFRA-6-IFS_DEVICE_OIR: Device usbflash0
[1] Finished Add on switch 1
[2] Add package(s) on switch 2
[2] Finished Add on switch 2
Checking status of Add on [1 2]
Add: Passed on [1 2]
Finished Add
install_add_activate_commit: Activating PACKAGE
~略~
再起動の確認がでるので、問題なければy
This operation requires 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 switch 1
~略~
Activate: Passed on [1 2]
Finished Activate
--- Starting Commit ---
Performing Commit on all members
~略~
Commit: Passed on [1 2]
Finished Commit
Install will reload the system now!
自動で再起動。
activate commit オプション無しでinstall実施すると、
activateとcommitは手動で実施となります。
再起動後に確認。
C9300#show ver
Cisco IOS XE Software, Version 16.06.02
~略~
C9300#show install summary
[ Switch 1 2 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG I 16.6.1.0
IMG C 16.6.2.0
ここでStがCになっていることを確認。
activate commit オプションを無しで手動再起動した場合にUとなるが、その場合
7200秒で以前のOSにRollbackするので手動にてCommitが必須となる。
古いOSを消すのであれば
C9300#install remove inactive
install_remove: START Wed Dec 13 13:54:55 JST 2017
Cleaning up unnecessary package files
No path specified, will use booted path flash:packages.conf
~略~
消していいか確認されるので
Do you want to remove the above files? [y/n]y
[switch 1]:
~略~
SUCCESS: Files deleted.
~略~
SUCCESS: install_remove Wed Dec 13 13:58:26 JST 2017
再度確認
C9300#show install summary
[ Switch 1 2 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 16.6.2.0
Cat3850よりは起動が早いですね。