电脑技术学习

升级线路卡固件在Cisco12000系列互联网路由器

dn001

  前言
  本文在Cisco 12000系列互联网路由器线路卡描述如 何在Cisco IOS软件升级以后升级® 微码。 升级线路卡固件取消 警告:老... 消息从 show version命令输出在路由 器。
  
  逐步程序
  直到线路卡在答应状态,请勿使用 upgrade 命令在本文。您能验证线路卡的状态用 show gsr命令。关于运 行Cisco IOS软件版本11.2(15)gs2以上的路由器,参见 此信息。
  
  注重: 假如 升级ROM监控器,您 必须 重新载入线路卡。
  
  一旦Cisco IOS软 件被升级了并且路由器被重新载入了,这不 意味着线路卡被升级了到最新的固件。 确定如 果有老版本问题,使用 show version命令,如下所示。 注重 警告消息在下面的show version命令输出的 底部。这些警告消息指 示什么需要被升级。
  
   mfr-2# show version
   Cisco Internetwork Operating System Software
   IOS (tm) GS Software (GSR-P-M), Version 11.2(15)GS1a, EARLY DEPLOYMENT RELEASE
   SOFTWARE (fc1)
   Copyright (c) 1986-1998 by cisco Systems, Inc.
   Compiled Mon 28-Dec-98 14:39 by tamb
   Image text-base: 0x60010900, data-base: 0x606C4000
   ROM: System Bootstrap, Version 11.2(9)GS5, [tamb 176] EARLY DEPLOYMENT RELEASE
   SOFTWARE (fc1)
   mfr_2 uptime is 4 minutes
   System returned to ROM by reload
   System image file is "slot0:gsr-p-mz.112-15.GS1a", booted via slot0:
   cisco 12008/GRP (R5000) processor (revision 0x01) with 262144K bytes of memory.
   R5000 processor, Implementation 35, Revision 2.1 (512KB Level 2 Cache)
   Last reset from power-on
   1 Clock Scheduler Card(s)
   1 Quad-port OC3c ATM controller (4 ATM).
   1 Single-port OC12c ATM controller (1 ATM).
   1 four-port OC3 POS controller (4 POS).
   1 Ethernet/IEEE 802.3 interface(s)
   5 ATM network interface(s)
   4 Packet over SONET network interface(s)
   507K bytes of non-volatile configuration memory.
   20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
   8192K bytes of Flash internal SIMM (Sector size 256K).
   Configuration register is 0x102
  
   WARNING: Old Rom Monitor in slot 0
   Use "upgrade rom-monitor" command to update the image
   WARNING: Old Fabric Downloader in slot 0
   Use "upgrade fabric-downloader" command to update the image
   WARNING: Old Rom Monitor in slot 1
   Use "upgrade rom-monitor" command to update the image
   WARNING: Old Fabric Downloader in slot 1
   Use "upgrade fabric-downloader" command to update the image
   WARNING: Old Rom Monitor in slot 2
   Use "upgrade rom-monitor" command to update the image
   WARNING: Old Fabric Downloader in slot 2
   Use "upgrade fabric-downloader" command to update the image
  
  从以上警告消息 ,我们能发现我们需要升级ROM监控器和矩阵下载程序。
  
  使用 show diag 命令确定什么线路卡您升级和其当前状态。 注重线路卡在一 个答应状态(IOS RUN),如显示在下面的 show diag命令输出。当 线路卡在一个答应状态时,您能升级固件。
  
   mfr_2#show diag 0
   SLOT 0 (RP/LC 0 ): 4 Port Packet Over SONET OC-3c/STM-1 Multi Mode
    MAIN: type 33, 800-2396-02 rev A0 dev 16777215
       HW config: 0x01  SW key: FF-FF-FF
    PCA: 73-2147-05 rev A0 ver 4
       HW version 1.1 S/N CAB02040049
    MBUS: MBUS Agent (1) 73-2146-06 rev A0 dev 0
       HW version 1.1 S/N CAB014600ME
       Test hist: 0xFF  RMA#: FF-FF-FF  RMA hist: 0xFF
    DIAG: Test count: 0xFFFFFFFF  Test results: 0xFFFFFFFF
    MBUS Agent Software version 01.35 (RAM) (ROM version is 01.33)
    Using CAN Bus A
    ROM Monitor version 0E.00
    Fabric Downloader version used 00.13 (ROM version is 11.03)
    Board is analyzed
    Board State is Line Card Enabled (IOS RUN )
    Insertion time: 00:00:11 (00:04:16 ago)
    DRAM size: 268435456 bytes
    FrFab SDRAM size: 67108864 bytes
    ToFab SDRAM size: 67108864 bytes
  
  下一个步骤将升级线路卡。执行此,使用 upgrade命令。 下面是 upgrade命令选项 列表。
  
   mfr_2#upgrade ?
    all        all GSR rom images
    fabric-downloader fabric downloader
    mbus-agent-rom   mbus agent rom
    post        Power On Self Test
    rom-monitor    rom monitor
  
  由于有一个ROM监控器警告在 show version命令输出,您 在卡需要升级ROM监控器。upgrade命令在句法示例显示如下 :
   mfr_2#upgrade rom-monitor ?
    all  all slots
    slot slot number
    <cr>
   mfr_2#upgrade rom-monitor slot ?
    <0-7> slot number
   mfr_2#upgrade rom-monitor slot 0
   ========= Line Card (Slot 0) =======
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   mfr_2#
   SLOT 0:Upgraded linecard ROM monitor sUCcessfully
  
  其次,升级矩阵下载程序。 upgrade 命令在句法示例显示如下:
  
   mfr_2#upgrade fabric-downloader slot 0
   ========= Line Card (Slot 0) =======
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   mfr_2#
   SLOT 0:Upgraded linecard fabric loader successfully
  
  因为有卡在插槽1和插槽2,您能升级那些。 upgrade命令在句法示例显示如下:
  
   mfr_2#upgrade all ?
    all  all slots
    slot slot number
    <cr>
   mfr_2#upgrade all all
   This will take around 7-10 minutes for a full chassis
   Ensure that GSR is not power cycled during the upgrade
   Premature termination of this command may render the GSR inoperable
   Please consult the documentation for more information
   Continue ? [no]: yes
   Starting upgrade, please wait
   Upgrading line card rom
   ========= Line Card (Slot 0) =======
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   ========= Line Card (Slot 1) =======
   SLOT 0:Upgraded linecard ROM monitor successfully
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   ========= Line Card (Slot 2) =======
   SLOT 1:Upgraded linecard ROM monitor successfully
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   Upgrading line card floader
   ========= Line Card (Slot 0) =======
   SLOT 2:Upgraded linecard ROM monitor successfully
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   ========= Line Card (Slot 1) =======
   SLOT 0:Upgraded linecard fabric loader successfully
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   ========= Line Card (Slot 2) =======
   SLOT 1:Upgraded linecard fabric loader successfully
   EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEppppppppppppppppppvvvvvvvvvvvvvvvvvv
   SLOT 2:Upgraded linecard fabric loader successfully
   Upgrading the MBUS agent rom on slot 0
   rom programmed successfully with 255 retries
   Upgrading the MBUS agent rom on slot 1
   rom programmed successfully with 255 retries
   Upgrading the MBUS agent rom on slot 2
   rom programmed successfully with 255 retries
   Upgrading the MBUS agent rom on slot 17
   rom programmed successfully with 255 retries
   Upgrading the MBUS agent rom on slot 24
   rom programmed successfully with 255 retries
   Upgrading the MBUS agent rom on slot 7
   rom programmed successfully with 255 retries
   Upgrading grp rom in slot 7
   The current revision of GRP ROM is: 175
   The new revision of GRP ROM will be: 175
   NOTE:
     1) GRP ROM upgrade typically takes 30 to 240 seconds.
     2) After GRP ROM upgrade the GRP will be reset.
   Continue GRP ROM upgrade? [yes/no]: n
  
  注重: 在本例中,因为 GRP ROM当前修正与新修