• 欢迎访问起航教学!
当前位置:起航教学资源网范文写作电脑学习电脑维护网络硬件升级路由器 IOS方法总结

升级路由器 IOS方法总结

12-14 18:36:14   分类:网络硬件   浏览次数: 959
标签:网络硬件大全,http://www.qihang56.com 升级路由器 IOS方法总结,
  
  4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (选择 7,用最大的11520
  
  速率的xmodem传输)
  
  change the boot characteristics? y/n [n]: n (选择 no)
www.qihang56.com   
  Configuration Summary
  
  enabled are:
  
  load rom after netboot fails
  
  console baud: 115200
  
  boot: image specified by the boot system commands
  
  or default to: cisco2-C2600
  
  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 回车
  
  注意:在按reset键前,需要修改串口速度(我的电脑---端口属性----串口速度调为115200),然后再修改超级终端里设置速率为115200,记住,一定要这么做,否则会出现乱码! 然后关闭这个超级终端,重新建立一个超级终端连接,重新启动系统后,出现
  
  rommon 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 [n]: y (选择 yes)
  
  Ready to receive file ...
  
  此时,在超级终端的菜单上的“传送”---“发送文件”----选择IOS映像文件所在地以及选择使用“xmodem”协议,点击“发送”即可。等待10-20分钟左右就可升级完3-6M的IOS文件!待升级完成后,请记住修改回计算机串口与超级终端、路由器confreg下的xmodem等传输速率为9600bps。
  
  方法如下:
  
  Router〉en 进入新IOS的特权模式
  
  Router#reload 重启系统
  
  Proceed with reload? [confirm] 回车
  
  00:01:04: %SYS-5-RELOAD: Reload requested
  
  System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
  
  Copyright (c) 1999 by cisco Systems, Inc.
  
  TAC:Home:SW:IOS:Specials for info
  
  PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0
  
  C2600 platform with 24576 Kbytes of main memory
  
  PC = 0xfff0a530, Vector = 0x500, SP = 0x80004684
  
  monitor: command “boot“ aborted due to user interrupt
  
  30秒内按ctrl+break键
  
  rommon 1 〉 confreg ( 输入“confreg”命令)
  
  Configuration Summary
  
  enabled are:
  
  load rom after netboot fails
  
  console baud: 115200
  
  boot: image specified by the boot system commands
  
  or default to: cisco2-C2600
  
  do you wish to change the configuration? y/n [n]: y (选择 yes)
  
  enable “diagnostic mode“? y/n [n]: n (选择 no)
www.qihang56.com   
  enable “use nn 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 [7]: 0 (选择 0,改回用标准速率速率9600的xmodem传输)
  
  change the boot characteristics? y/n [n]: n (选择 no)
  
  Configuration Summary
  
  enabled are:
  
  load rom after netboot fails
  
  console baud: 9600
  
  boot: image specified by the boot system commands
  
  or default to: cisco2-C2600
  
  do you wish to change the configuration? y/n [n]: n You must reset or power cycle for new config to take effect
  
  rommon 2 〉
  
  此时手工改回计算机串口与超级终端2者传输速率为9600
  
  然后敲入
  
  rommon 2 〉reset
  
  最好关掉电源后,重新启动。利用xmodem命令实现路由器IOS升级速度较慢,往往等上很长时间,为了快速升级,可以采用下列方法。
  
  (二)通过tftpdnld命令升级IOS,具体步骤如下:
  
  1、用Cisco原配的线缆连接路由器的console口与PC机的COM1,使用PC机的超级终端软件访问路由器;用一根双绞线连接路由器的eth0/0口与PC机的网卡。
  
  2、将路由器的eth0/0口IP地址设为10.32.10.32;PC机的IP地址设为10.32.10.1。将要升级的IOS映象文件拷贝到相关的目录中,并运行TFTP服务器软件,通过菜单设置Root目录为拷贝IOS映象文件所在目录。
  
  3、通过set 命令查看配置参数
  
  rommon 2 〉 set
  
  PS1=rommon ! 〉
  
  BOOT=
  
  BSI=0
  
  RET_2_RTS=
  
  ?=0
  
  4、在 rommon 状态下输入:(注意大小写)
  
  rommon 3 〉IP_ADDRESS=10.32.10.1             (路由器的ip地址)
  
  rommon 4 〉IP_SUBNET_MASK=255.255.255.0     (路由器的掩码)
  
  rommon 5 〉DEFAULT_GATEWAY=10.32.10.32     (缺省网关,是pc机的ip地址)
  
  rommon 6 〉TFTP_SERVER=10.32.10.32         (是pc机的ip地址)
  
www.qihang56.com
  rommon 7 〉TFTP_FILE=C2600-I-MZ.122-11.BIN    (上传ios文件的名称)
  
  rommon 8〉sync                             (保存参数配置)
  
  rommon 9 〉set                              (查看)
  
  rommon 10 〉 set
  
  PS1=rommon ! 〉
  
  BOOT=
  
  IP_ADDRESS=10.32.10.1
  
  IP_SUBNET_MASK=255.255.255.0
  
  DEFAULT_GATEWAY=10.32.10.32
  
  TFTP_SERVER=10.32.10.32
  
  TFTP_FILE=C2600-I-MZ.122-11.BIN
  
  BSI=0
  
  RET_2_RTS=
  
  ?=0
  
  rommon 11 〉tftpdnld
  
  执行tftpdnld命令进行ios升级,有时可能会报错或命令不执行,这时只要用sync命令保存配置后,重新启动路由器(最好关掉电源再开机)后,再执行tftpdnld命令就可以了。
  
  rommon 11 〉tftpdnld(传送文件)出现提示选择y
  
  IP_ADDRESS: 10.32.10.1
  
  IP_SUBNET_MASK: 255.255.255.0
  
  DEFAULT_GATEWAY: 10.32.10.32
  
  TFTP_SERVER: 10.32.10.32
  
  TFTP_FILE: C2600-I-MZ.122-11.BIN
  
  Invoke this command for disaster recovery only.
  
  WARNING: all existing data in all partitions on flash will be lost!
  
  Do you wish to continue? y/n:  [n]:  y
  
  Receiving C2600-I-MZ.122-11.BIN from 10.32.10.32
  
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

上一页  [1] [2] [3] [4]  下一页

相关热词搜索:

分享到: 收藏
评论排行