Chinaunix首页 | 论坛 | 博客
  • 博客访问: 852865
  • 博文数量: 275
  • 博客积分: 3904
  • 博客等级: 中校
  • 技术积分: 4605
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:10
文章分类

全部博文(275)

文章存档

2014年(9)

2013年(124)

2012年(142)

分类: 系统运维

2013-03-11 13:24:39

一、设备清单
二、备份
三、修改和PC的波特率
四、使用xmodem上传IOS
五、将路由器和PC的波特率改回默认值一、设备清单
       CICSO 3745 路由器,安装了超级终端的PC,TFTP或FTP服务器,c3745-advipservicesk9-mz.124-3c.bin的IOS

二、备份IOS
       /* 将原IOS备份到IP为192.168.1.100的TFTP服务器上 */
       router#copy flash:/c3745-ipbase-mz.123-9.bin t

三、修改路由器和PC的波特率
       1. 将路由器连接到PC的串口上
       2. router#reload                      /* 重启路由器 */
       3. 在重启后30秒内按PC键盘上的Ctrl+Pause Break键,进入romon模式
          /* 配置路由器数据传输的波特率为115200 */      
         rommon 1 > confreg
  ……
  do you wish to change the configuration? y/n [n]: y (选择 yes)
  enable "diagnostic mode"? y/n [n]: n (选择 no)
  enable "use net in IP bcast address"? y/n [n]: n (选择 no)
  disable "load rom after netboot fails"? y/n [n]: n (选择 no)
  enable "use all zero broadcast"? y/n [n]: n (选择 no)
  enable "break/abort has effect"? y/n [n]: n (选择 no)
  enable "ignore system config info"? y/n [n]: n (选择 no)
  change console baud rate? y/n [n]: y (选择 yes)
  enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
  4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (选择 7,用最大
  的115200速率的xmodem传输)
  change the boot characteristics? y/n [n]: n (选择 no)
  ……
  do you wish to change the configuration? y/n [n]: n (选择 no)
  You must reset or power cycle for new config to take effect
  rommon 2 > reset 回车
      4. 配置PC的超级终端连接的“每秒位数”为115200,重新连接到路由器。不修改是不能正常显示的。

四、使用xmodem上传IOS
       1. /* 配置路由器准备接收文件 */
        rommon 1 > xmodem -r
  Do not start the sending program yet...
  Invoke this application only for disaster recovery.
  Do you wish to continue? y/n : y (选择 yes)
  Ready to receive file ...
      2. 在超级终端的菜单上的“传送”---“发送文件”----选择IOS镜像文件,协议选择“xmodem”,点击
           “发送”。我的新IOS是30M的,传送大概花了70分钟。
      3. 重启路由器,会用新的IOS启动。

五、将路由器和PC的波特率改回默认值
      1. 重做三、3中的步骤,将路由器波特率改回到默认的9600
          ……
  change console baud rate? y/n [n]: y (选择 yes)
  enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
  4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (选择 0,用默认
  的9600速率的xmodem传输)
         ……
      2. 配置PC的超级终端连接为“还原默认值”,重新连接到路由器。不修改是不能正常显示的。
阅读(739) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~