通過CMC連接:
1 連接到cmc後, 鍵入"connect switch-[n]"連接到指定槽位中的交換機(n代表1,2,3)
cmc-rack1 login: root
Password:
Welcome to the CMC - firmware version X08.1.0.200710311456
$ connect switch-1
Connected to remote port.
Escape character is '^\'.
console>
2 進入CMC命令行模式: 鍵入"<ctrl> \" 按<enter>2次或3次
cmc-rack1 login: root
Password:
Welcome to the CMC - firmware version X08.1.0.200710311456
$ connect switch-1
Connected to remote port.
Escape character is '^\'.
console>
Type Ctrl-\ here.
$
2 初始化:
console>en 進入特權模式
console#
console#config 進入配置管理
console(config)# ip address 192.168.0.1 255.255.255.0 配置ip及子網掩碼
console(config)# username xxx password passw0rdlevel15 用戶名及密碼
console(config)# end 退出config
console# copy running-config startup-config 保存配置
3查看交換機當前FW版本:
console# show version (顯示如下內容)
Unit p_w_picpath1 p_w_picpath2 current-active next-active
1 1.0.0.1 1.0.0.1 p_w_picpath1 p_w_picpath1
4 通過TFTPserver將FW最新版本的基礎版本A.1.1.9傳輸到交換機
console# copy tftp://192.168.0.2/PCM6220vA.1.1.9.stk p_w_picpath
Management access will be blocked for the duration of the transfer
Are you sure you want to start?(y/n) y
console# show version 顯示如下
Unit p_w_picpath1 p_w_picpath2 current-active next-active
1 1.0.0.1 A.1.1.9 p_w_picpath1 p_w_picpath1
5 激活A.1.1.9並替換當前版本
console# boot system p_w_picpath2
6升級引導代碼並重啓交換機
console# update bootcode
Update bootcode and reset (Y/N)?y
Management switch has unsaved changes
Are you sure you want to continue?(Y/N)y
7重複上述步驟將FW更新到4.2.1.3:
console#copy tftp://192.168.0.1/PCM6220v4.2.1.3.stk p_w_picpath
Management access will be blocked for the duration of the transfer
Are you sure you want to start?(y/n) y
console# show version
Unit p_w_picpath1 p_w_picpath2 current-active next-active
1 4.2.1.3 A.1.1.9 p_w_picpath2p_w_picpath2
console# boot system p_w_picpath1
console#update bootcode
Update bootcode and reset (Y/N)?y
Management switch has unsaved changes
Are you sure you want to continue?(Y/N)y
升級FW三步驟: 1. copy 2. boot system p_w_picpathx 3. update bootcode