科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道CISCO路由器IOS升级方法总结

CISCO路由器IOS升级方法总结

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

前不久,朋友在对一台带语音模快的CISCO2610进行IOS升级时,由于路由器的内存(flash)为8M,IOS软件为7M多,升级后路由器无法正常启动。

作者:IT168.com 来源:IT168.com 2008年5月22日

关键字: Cisco路由器 思科路由器 思科 CISCO 路由器

  • 评论
  • 分享微博
  • 分享邮件

在本页阅读全文(共2页)

IOS升级方法三

由于不小心使用了命令erase flash或升级失败后或在开启(某些型号)Cisco路由器的电源开关后30秒内按下Ctrl+break键,中断路由器的正常启动,路由器都会进入rom监视模式,即 rommon 1>,在这种情形下,对路由器的IOS进行升级,情况要稍微复杂一点。在rommon 1>状态下,可键?请求帮助。(1为命令行序号,每执行1条命令自动加1)

QUOTE:rommon 1 > ?
alias   set and display aliases command
bootboot up an external process
break   set/show/clear the breakpoint
confreg configuration register utility
contcontinue executing a downloaded image
context display the context of a loaded image
cookie  display contents of cookie PROM in hex
dev list the device table
dir list files in file system
dis display instruction stream
dnldserial download a program module
frame   print out a selected stack frame
helpmonitor builtin command help
history monitor command history
meminfo main memory information
repeat  repeat a monitor command
reset   system reset
set display the monitor variables
stack   produce a stack trace
syncwrite monitor environment to NVRAM
sysret  print out info from last system return
tftpdnldtftp image download
unalias unset an alias
unset   unset a monitor variable
xmodem  x/ymodem image download
rommon 2 >在rommon 1>状态下有两种升级IOS方法。

(一)、通过Xmodem命令(注:Xmodem与实际的modem没有任何联系 只是一个传输协议 数据是通过终端的串口和路由器的Console口灌进去的)升级IOS,具体步骤如下:

1、用Cisco原配的线缆连接路由器的console口与PC机的COM1,使用PC机的超级终端软件访问路由器,这时不需要对PC和路由器配置任何地址。

2、在这个模式下,输入Xmodem命令,即:

QUOTE:rommon 2 > xmodem -c c2600-i-mz.122-11.bin
(-c是带校验,c2600-i-mz.122-11.bin为存放在PC机上的IOS映像文件)
WARNING: All existing data in bootflash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n  [n]:  y Ready to receive file c2600-i-mz.122-11.bin ……  (此时在超级终端的传送栏目=> 选择发送文件选项 => 再选择Xmodem 并指明IOS映像文件所在的路径,按发送即开始上传IOS,等待时间很长,视IOS的大小和传输速度。)
QUOTE:Erasing flash at 0x607c0000
program flash location 0x605b0000
Download Complete!

传完以后,对整个系统初始化 显示如下:

QUOTE:program load complete, entry point: 0x80008000, size: 0x5b85e0
Self decompressing the image :
[OK]
Smart Init is disabled. IOMEM set to: 10
Using iomem percentage: 10
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
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
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

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章