1. 用USB serial cable/null modem 一端连接电脑串口,一端连接交换机usb口

usb null modem cable

使用终端仿真程序secureCRT/HyperTerminal连接到交换机
参数:
        9600波特率
         8个数据位
         无奇偶校验
         1个停止位
         无流控制
按<enter>2次或3次开始连接
通过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_picpath x 3.  update bootcode