1 背景
從Catalyst 3650 ,3850,Catalyst 9000開始, 更準確的說是IOS XE的交換機的系統鏡像安裝方式分為2種
? Bundle mode
? Install mode
這2種方工啥區別?
Bundle mode = 傳統方式利用boot system flash:c9k.xx16.bin方式引導
Install mode = 將bin文件解壓為多個模塊
那2種方式的優缺點都是什么?
Bundle mode:啟動時需要解壓bin,優點disk占用少,但解壓時間長
Install mode :啟動時不需要解壓bin,內存占用少,但disk空間占用多
推薦哪一種 ?
推薦使用install mode, 現在的交換機disk空間都不是事,裝5個系統也沒問題
2 Upgrade guide
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-11/release_notes/ol-16-11-9300.html
https://www.cisco.com/c/zh_cn/support/docs/switches/catalyst-9300-series-switches/216231-upgrade-guide-for-cisco-catalyst-9000-sw.html
3 實際升級操作
3.1 Install
根據版本不同,可使用以下2種方式,上面鏈接有說明
? Request platform software
? Install add file
Switch# request platform software package install switch all file bootflash:cat9k_iosxe.16.09.04.SPA.bin
或以下命令
Switch#install add file bootflash:cat9k_iosxe.16.06.01.SPA.bin activate commit
也可以直接從tftp上安裝
Ip tftp blocksize 8192 !!speed up the tftpInstall add file tftp://10.1.50.1/cat9k_iosxe.16.06.01.SPA.bin activate
經過實際測試發現, catalyst9000不支持request 開頭的命令
所以只能使用install add開頭的命令進行升級
install add file flash:cat9k_iosxe.16.06.01.SPA.bin activate commit
如果空間不足,可以清理老的安裝文件
Switch# request platform software package clean switch all
Switch# install remove inactive