电脑软硬件应用网
当前位置: 电脑软硬件应用网 > 电脑学院 > 局域网技术 > 正文
Cisco路由器IOS升级方法总结
Cisco路由器IOS升级方法总结
2011-5-30 16:27:03  文/佚名   出处:中国IT实验室   

  TAC Support: http://www.cisco.com/tac

  Copyright (c) 1986-2003 by cisco Systems, Inc.

  Compiled Mon 23-Jun-03 15:42 by cmong

  Image text-base: 0x8000809C, data-base: 0x80A68B48

  cisco 2610 (MPC860) processor (revision 0x203) with 22528K/2048K bytes of memory

  Processor board ID JAD03483395 (1128032249)

  M860 processor: part number 0, mask 49

  Bridging software.

  X.25 software, Version 3.0.0.

  1 Ethernet/IEEE 802.3 interface(s)

  2 Serial(sync/async) network interface(s)

  32K bytes of non-volatile configuration memory.

  8192K bytes of processor board System flash (Read/Write)

  Press RETURN to get started!

  *Mar 1 00:00:05.652: %PA-2-UNDEFPA: Undefined Port Adaptor type 100 in bay 1

  *Mar 1 00:00:07.996: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up

  *Mar 1 00:00:07.996: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down

  *Mar 1 00:00:07.996: %LINK-3-UPDOWN: Interface Serial0/1, changed state to down

  *Mar 1 00:00:09.142: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up

  *Mar 1 00:00:09.142: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

  *Mar 1 00:00:09.142: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to down

  *Mar 1 00:00:09.458: %SYS-5-CONFIG_I: Configured from memory by console

  *Mar 1 00:00:11.245: %LINK-5-CHANGED: Interface Serial0/1, changed state to administratively down

  *Mar 1 00:00:12.275: %SYS-5-RESTART: System restarted ——Cisco Internetwork Operating System Software

  IOS (tm) C2600 Software (C2600-I-M), Version 12.2(11)T9, RELEASE SOFTWARE (fc1)

  TAC Support: http://www.cisco.com/tac

  Copyright (c) 1986-2003 by cisco Systems, Inc.

  Compiled Mon 23-Jun-03 15:42 by cmong

  *Mar 1 00:00:12.279: %SNMP-5-COLDSTART: SNMP agent on host NE16 is undergoing a cold start

  Router>采用这种方法时,由于使用console口来传送,速率为9600bps,需要时间较长。因此可修改console口速率利用xmodem命令实现快速升级IOS.具体方法如下:

  QUOTE:rommon 1 > confreg 回车

  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]: 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,用最大的11520

  速率的xmodem传输)

  change the boot characteristics? y/n [n]: n (选择 no)

  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,记住,一定要这么做,否则会出现乱码! 然后关闭这个超级终端,重新建立一个超级终端连接,重新启动系统后,出现

  QUOTE:rommon 1> 提示符然后,输入

  QUOTE: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.

  方法如下:

  QUOTE: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)

  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

  然后敲入

  QUOTE: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映象文件所在目录。

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

  • 上一篇文章:

  • 下一篇文章: 没有了
  • 最新热点 最新推荐 相关阅读
    无线网络路由器典型故障分析及解决方
    善用思科IOS配置锁 防路由配置错乱
    两台路由器互联组建局域网
    巧用路由器设置,限制别人的网速
    无线路由器优化设置需从四方面入手
    Cisco路由器IP协议配置的基本原则
    NETCORE路由器故障处理办法
    广电宽带路由器的设置方法
    UDLD模式解决交换机接口故障
    如何解决思科路由器崩溃问题
    关于45IT | About 45IT | 联系方式 | 版权声明 | 网站导航 |

    Copyright © 2003-2011 45IT. All Rights Reserved 浙ICP备09049068号