Chinaunix首页 | 论坛 | 博客
  • 博客访问: 18673075
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-20 09:01:48

前言
本文在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
  
 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
  
 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当前修正与新修正版,是等同的我们没有升级千兆路由处理 器(GRP) ROM。如果版本不配比,则您应该继续和升级 GRP ROM。 升级GRP ROM造成机箱重新载入。


您能现在使用 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 7 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
 
 
在上面 的例子,警告消息表明您需要强制线路卡重新载入固件。您 能强制线路卡通过使用microcode reload命令重新载入 固件在配置,如下所示。

 mfr_2# configure terminal
 Enter configuration commands, one per line.  End with CNTL/Z.
 mfr_2(config)#microcode reload
 mfr_2(config)#^Z      !-- This represents the CNTL + Z key combination.
 

您能再现在发出 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 7 minutes
 System returned to ROM by reload
 System image file is "slot0:gsr-p-mz.112-15.GS1a", booted via slot0:
 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
 mfr_2#

[page]
有选择的重新加载
如下所示发出microcode reload命令 的 选项。注意您能根 据每个线路卡有选择性地重新载入微码。

 mfr_2#configure terminal
 Enter configuration commands, one per line.  End with CNTL/Z.
 mfr_2(config)#miv
 mfr_2(config)#mic
 mfr_2(config)#microcode ?
   GE-1           1 Port Gigabit Ethernet
   OC12-4-POS-ED  4 Port E.D. Packet Over SONET OC-12c/STM-4
   OC12-ATM       1 port ATM Over SONET OC12c/STM-4c
   OC12-CH-DS3    1 port SONET OC12 channelized to DS3
   OC12-CH-STS3   1 port SONET OC12 channelized to STS-3c/STM-1
   OC12-POS       1 Port Packet Over SONET OC-12c/STM-4c
   OC3-POS-4      4 Port Packet Over SONET OC-3c/STM-1
   OC48-POS-ED    1 Port E.D. Packet Over SONET OC-48c/STM-16
   reload         force reloading of microcode
 mfr_2(config)#microcode reload
 mfr_2(config)#microcode reload ?
   <0-7>  Slot number of card to reload
  
 

特别注意事项
在升级之前,如果线路卡不过来,输入以下命令:


 gsr# configure terminal
 gsr(config)# service download-fl
 gsr(config)# microcode reload
 gsr(config)# ^Z     <--  This represents the CNTL + Z key combination.
 
这些命令强制GRP下载其矩阵下载程 序的自己的版本到线路卡在尝试之前开始在线路卡的Cisco IOS软件 。

在线路卡是UP之后,您能如上所述 升级线路卡。当完成升级线路卡的时您,从 配置删除 service download-fl 命令。

线路卡升级过程为Cisco IOS 软件版本11.2(15)gs2以上
更新的软 件镜象,有升级固件的所有(即ROM监控器和矩阵加载器,不包括 MBUS ROM 代理)方面的一个容易的机制在线路卡。 输入以下 命令在全局配置模式在Cisco 12000 系列互联网路由器自动地升级 固件在线路卡:

  service upgrade [all | rommon | fabric-loader]
 
service upgrade all configuration命令不升级MBUS ROM代理由于向后兼容性的原因(即 一个更旧的MBUS ROM版本可能不在新的卡运作)。MBUS代理需 要使用upgrade mbus-agent-all或upgrade all命令手工 被升级。

功能
此命令自动地删除警告消息关于 DOWNREV 线路卡ROM监控器或矩阵下载程序。当ROM 监控器 和矩阵加载器版本不是与Cisco IOS软件兼容时,它自动地也升级 GSR线路卡闪存固件镜象。如果他们兼容,升级不发生。 在升级发生之后,将自动地重置线路卡并且没有需要微型重 新载入。当您重新载入路由器或微型重新载入线路卡时,配 置命令进入作用。

最坏局面的另外的 引导程序时期(升级ROM监控器和矩阵加载器)是大约30秒。

此配置命令 的可用性
此配置命令是仅可用的在 Cisco IOS软件版本11.2(15)gs2以上。

固件术语
使用线路卡ROM监控器启动线路卡和把柄MBUS信息。 用于线路卡矩阵加载器接受Cisco IOS软件下载在GSR交换矩 阵的。

命令 句法

  service upgrade [all | rommon | fabric-loader]
 
那里:

所有 自动地升级ROM监控器和 矩阵加载器。
rommon 自动地升级仅ROM 监控器。
矩阵加载器 自动地升级仅矩阵加载器。
使用示例
自动地升级ROM监控器和矩阵加载器,输入以下命令 :

    router(config)#service upgrade all
 
自动地升级仅ROM监控器,输入以 下命令:

    router(config)#service upgrade rommon
 
自动地升级仅矩阵加载器 ,输入以下命令:

    router(config)#service upgrade fabric-loader

阅读(350) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~