Cisco—Crystal_9300_Upgrade

Reference

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-6/release_notes/ol-17-6-9300.html#task_xpb_3tx_xkb

Before Upgrade

1. 確認HASH值
Get-FileHash -Algorithm MD5 -Path .\cat9k_iosxe.17.12.05.SPA.bin
(9300: e032ebc5e8a9e050635a9b9d97dba49c)

2. 注意USB格式(FAT16)

Upgrade

# STEP1

[查看版本] 
show version

[刪除未設定為開機image的檔案]
install remove inactive

[確認目前flash空間]
dir flash: | include free

[複製檔案進flash]
copy usbflash0:/cat9k_iosxe.17.12.05.SPA.bin flash:/

[確認上傳後的檔案是否正確]
dir flash:*bin
verify /md5 "name"

# STEP2

[重設開機參數 > 移除之前指定的開機映像檔路徑]
config t
no boot system

[設定新的開機映像給packages.conf]
boot system flash:packages.conf

[確保設備開機不進ROMMON > 每次都要下boot "file_path"麻煩]
no boot manual
end

[查看boot system,確保boot variabel = flash:packages.conf; manual boot = no]
show boot

[存檔]
write mem

# STEP3

[安裝檔案,activate: 立刻執行新的image, commit: 將更改提交到下次開機]
install add file [flash:cat9k_iosxe.17.12.05.SPA.bin] activate commit

# STEP4

[查看版本]
show version

[確認是否安裝成功]
dir flash:*.pkg
dir flash:*.conf
show install summary

[存檔]
write mem