• 网络学院
  • 新手学堂
  • 操作系统
  • 网络技术
  • 软件应用
  • 办公软件
  • 编程技术
  • 网站架设
  • 数据库类
  • 平面设计
  • 多媒体类
  • 游戏资讯
  • 教学论文
  • 认证考试
CISCO路由器IOS升级方法总结(二)
广告位
  站点:
  • 首 页
  • 最新软件
  • 最新文章
  • 国内软件
  • 国外软件
  • 汉化软件
  • 源码下载
  • 字体下载
CISCO路由器IOS升级方法总结(二)
软件发布 CISCO路由器IOS升级方法总结(二)
网络软件 系统工具 应用软件 联络聊天 图形图像 多媒体类 行业软件 游戏娱乐 编程开发 安全相关 教育教学 数码软件
热门软件: QQ 瑞星 pplive e话通 木马克星 千千静听 office2000 五笔字根 Photoshop 视频分割
返回首页 | 文章首页 | 认证考试 | 网络工程师 | CISCO路由器IOS升级方法总结(二)

CISCO路由器IOS升级方法总结(二)

 

添加时间: 2007-4-13 2:55:51  作者: 网络工程师认证参考  阅读次数:105   来源: http://www.d9soft.com

 

 

       

   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

    boot                boot up an external process

    break               set/show/clear the breakpoint

    confreg             configuration register utility

    cont                continue 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

    dnld                serial download a program module

    frame               print out a selected stack frame

    help                monitor 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

    sync                write monitor environment to NVRAM

    sysret              print out info from last system return

    tftpdnld            tftp 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

    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升级速度较慢,往往等上很长时间,为了快速升级,可以采用下列方法。

 

 

 

上下文章:

 

上一篇文章: 交换机里VLAN技术探讨以及如何配置 下一篇文章: 网络管理基础--nslookup

相关文章:

  • 常见问题诊断方法---(常见错误篇)
  • 常见问题诊断方法---(SQL*NET篇)
  • Oracle联机日志文件丢失处理方法
  • 黑客攻破SQL服务器系统的十种方法
  • 我的学习总结:Oracle软件结构(1)

相关软件:

  • 终截者抗病毒软件离线升级包 V080619
  • PC-Cillin 中国区病毒码升级工具 V5.340.60
  • 光华反病毒离线累积升级包 V080607a
  • 冰点QQ升级看牌器小助手 V3.7 Beat
  • 光华防火墙离线升级包 F080502a
  • 野狼-QQ升级刷分器 一年版 V08.04.22

 

 

快速导航

  • 网络学院
  • 精品汇聚
  • 字体下载
  • 教程下载
  • ASP源码
  • PHP源码
  • Net源码
  • JSP 源码

认证考试分类导航

  • 微软认证
  • 计算机等级考试
  • 软件水平考试
  • 思科认证
  • Oracle认证
  • Linux认证
  • JAVA认证
  • 网络工程师
  • 系统工程师
  • 程序员

本类经典文章推荐

  • CISCO路由器IOS升级方法总结(一)
  • 双线路能打通南北网络瓶颈吗(上)
  • 双绞线测试重要参数详解
  • Vlan中的Trunk技术在园区网中的应...
  • 椭圆曲线ECC加密算法入门介绍
  • 网络工程师考试备考-数据通信基础...
  • 城域传输网技术特点以及发展趋势
  • CISCO路由器IOS升级方法总结(三)
  • 网络管理基础--nslookup
  • CISCO路由器IOS升级方法总结(二)

网络工程师阅读排行

  • Vlan中的Trunk技术在园区网中的应...
  • 椭圆曲线ECC加密算法入门介绍
  • 图解WindowsXP远程桌面连接
  • 网络工程师考试备考-数据通信基础...
  • 计算机网络与通信复习资料
  • 网络管理员必须掌握的知识
  • CISCO路由器IOS升级方法总结(二)
  • CISCO路由器IOS升级方法总结(一)
  • 网络经典命令行
  • 【网络管理员】ADSL2/2+技术与应用...

认证考试阅读总排行

  • 全国计算机等级考试一级模拟试题01
  • 全国计算机等级考试一级模拟试题10
  • 全国计算机等级考试一级模拟试题08
  • MCSD简介
  • 全国计算机等级考试一级考试最新模...
  • 全国计算机等级考试一级模拟试题07
  • 全国计算机等级考试一级模拟试题02
  • 全国计算机等级考试一级模拟试题06
  • 全国计算机等级考试一级模拟试题03
  • 一级(WINDOWS)试题解析-Word篇

广告位置

字母检索 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 回到顶部

关于我们 | 版权声明 | 免责条款 | 广告联系 | 软件发布 | 下载帮助 | 下载排行 | 网站地图 | 特别鸣谢 | 友情连接

copyright; 2005-2008 D9soft.com 第九软件网 版权所有