削除前のイメージの非アクティブ化:
SMU イメージは、削除する前に必ず非アクティブ化してください。
ステップ 1
|
SMU イメージの非アクティブ化が成功したことを確認するための制限時間を設定します(まだ設定されていない場合)。
指定できる範囲は 1 ~ 60 分です。制限時間は 15 分以上を推奨します。
Device# config-transaction
Device(config)# system
Device(config-system)# upgrade-confirm minutes
|
ステップ 2
|
Cisco IOS XE Catalyst SD-WAN デバイス で SMU イメージを非アクティブ化します。
Device# request platform software sdwan smu deactivate build-number.smu-defect-id
|
ステップ 3
|
SMU イメージが非アクティブ化されていることを確認します。コマンド出力の SMU 行の St 列にある文字 D は非アクティブ化されていることを示します。
Device# show install summary
|
ステップ 4
|
SMU イメージの非アクティブ化を完了します。
Device# request platform software sdwan smu upgrade-confirm
upgrade-confirm minutes コマンドで指定した制限時間内にデバイスでこのコマンドを発行しないと、イメージの非アクティブ化は失敗し、デバイスは SMU イメージが非アクティブ化される前の状態に自動的に戻ります。
|
ステップ 5
|
SMU イメージが非アクティブ化されていることを確認します。コマンド出力の SMU 行の St 列にある文字 I は非アクティブ化されていることを示します。
Device# show install summary
|
ステップ 6
|
イメージのバージョン番号を取得します。
-
バージョン番号を表示するには、show install package コマンドを使用します。
show install package bootflash:filename | include Version
-
出力の Version 行には、ピリオドで区切られた複数の数値が表示されます。バージョンの最初の 5 つの番号をコピーします。
たとえば、出力に 17.12.03.0.27.1717035922..Dublin と表示されている場合は、17.12.03.0.27 をコピーします。この番号を後続の手順のビルド番号として使用します。
|
ステップ 7
|
show install package コマンドを | include Defect ID とともに使用して、SMU イメージによって解決された問題の不具合 ID を表示します。
show install package bootflash:filename | include Defect ID
コマンド出力に不具合 ID が表示されます。
|
ステップ 8
|
デバイスから SMU イメージを削除します。
Device# request platform software sdwan smu remove build-number.smu-defect-id
|
ステップ 9
|
SMU イメージが削除されたことを確認します。成功した場合、削除された SMU イメージの SMU 行はコマンド出力に表示されません。
Device# show install summary
|
次のコマンドは、アップグレード確認の時間制限を 15 分に設定します。
Device# config-transaction
Device(config)# system
Device(config-system)# upgrade-confirm 15
次のコマンドは、SMU イメージを非アクティブ化してアンインストールし、イメージが削除されたことを確認します。
Device# request platform software sdwan smu deactivate 17.12.03.0.3740.CSCwj48209
install_deactivate: START Thu May 30 09:25:28 UTC 2024
install_deactivate: Deactivating
--- Starting SMU Deactivate operation ---
Performing SMU_DEACTIVATE on all members
Checking status of SMU_DEACTIVATE on [R0]
SMU_DEACTIVATE: Passed on [R0]
Finished SMU Deactivate operation
SUCCESS: install_deactivate Thu May 30 09:26:08 UTC 2024
Device# show install summary
[ R0 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 17.12.03.0.3740
SMU D bootflash:isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin
--------------------------------------------------------------------------------
Auto abort timer: active , time before rollback - 00:29:52
--------------------------------------------------------------------------------
Device# request platform software sdwan smu upgrade-confirm
install_commit: START Thu May 30 09:26:21 UTC 2024
--- Starting Commit ---
Performing Commit on all members
[1] SMU_COMMIT packages(s) on R0
[1] Finished SMU_COMMIT packages(s) on R0
Checking status of Commit on [R0]
Commit: Passed on [R0]
Finished Commit operation
SUCCESS: install_commit Thu May 30 09:26:38 UTC 2024
Device# show install summary
[ R0 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 17.12.03.0.3740
SMU I bootflash:isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin
--------------------------------------------------------------------------------
Auto abort timer: inactive
--------------------------------------------------------------------------------
Device# show install package bootflash:isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin | include Version
Version: 17.12.03.0.27.1717035922..Dublin
Device# show install package bootflash:isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin | include Defect ID
include Defect ID: CSCwj48209
Device# request platform software sdwan smu remove 17.12.03.0.27.CSCwj48209
install_remove: START Thu May 30 09:27:39 UTC 2024
install_remove: Removing SMU
Preparing packages list to remove ...
prepare_rm_pkg_list /bootflash/isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin
The following files will be deleted:
[R0]: /bootflash/isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin
Deleting file /bootflash/isr1100be-universalk9.2024-05-29_19.25_smudev.0.CSCwj48209.SSA.smu.bin ... done.
SUCCESS: Files deleted.
SUCCESS: install_remove Thu May 30 09:27:47 UTC 2024
Device# show install summary
[ R0 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 17.12.03.0.3740
--------------------------------------------------------------------------------
Auto abort timer: inactive
--------------------------------------------------------------------------------