Cisco IOS XR ROM Monitor Guide for the Cisco XR 12000 Series Router
Upgrading and Downgrading Boothelper and ROM Monitor on Cisco XR 12000 Series Routers

Table Of Contents

Upgrading and Downgrading Boothelper and ROM Monitor on Cisco XR 12000 Series Routers

Information About ROM Monitor and Boothelper Software

ROM Monitor and Boothelper Upgrade and Downgrade Basics

How to Upgrade or Downgrade Boothelper

Upgrading or Downgrading Boothelper

Prerequisites

Example

How to Upgrade or Downgrade ROM Monitor

Upgrading or Downgrading ROM Monitor

Prerequisites

Example

Additional References

Related Documents

Technical Assistance


Upgrading and Downgrading Boothelper and ROM Monitor on Cisco XR 12000 Series Routers


This chapter describes how to upgrade or downgrade the Boothelper and ROM Monitor software on a Cisco XR 12000 Series Router. It includes the following sections:

Information About ROM Monitor and Boothelper Software

How to Upgrade or Downgrade Boothelper

How to Upgrade or Downgrade ROM Monitor

Additional References

Information About ROM Monitor and Boothelper Software

Before upgrading or downgrading ROM Monitor or Boothelper software, you should understand the following concept:

ROM Monitor and Boothelper Upgrade and Downgrade Basics

ROM Monitor and Boothelper Upgrade and Downgrade Basics

The ROM Monitor, which is also known as ROMMON, is a bootstrap program that initializes the hardware and boots the Cisco IOS XR software when you power on or restart a Cisco XR 12000 Series Router. ROM Monitor upgrades can be required to resolve software defects or to support new features. Typically, ROM Monitor upgrades are infrequent and are not required for every Cisco IOS XR software upgrade.


Tip Information about operating the router in ROM Monitor mode is provided in Chapter 2 "Router Recovery with ROM Monitor."


The upgrade and downgrade procedures for ROM Monitor are the same. During the upgrade or downgrade process, you select the firmware that is used for ROM Monitor. This firmware can represent an upgrade or a downgrade. The firmware must be compatible with the hardware, but it need not be a later version of the ROM Monitor already installed. During an upgrade or downgrade, the firmware is copied into hardware EEPROMs in the router.

Boothelper software is additional software that extends the capabilities of ROM Monitor on a Cisco XR 12000 Series Router. Without Boothelper, ROM Monitor can load images from disk0, disk1, and bootflash. With Boothelper, ROM Monitor can load images from disk0, disk1, bootflash, compact flash, and TFTP servers.

Boothelper software is stored in bootflash and can be upgraded or downgraded by replacing the software in bootflash with a different Boothelper image.


Tip Information about starting and configuring Boothelper is provided in Chapter 1 "ROM Monitor Overview and Basic Procedures."


How to Upgrade or Downgrade Boothelper

This section contains the following procedure:

Upgrading or Downgrading Boothelper

Upgrading or Downgrading Boothelper

Perform this task to upgrade or downgrade the Boothelper.

Prerequisites

Before starting the procedure described in this section, complete the following:

Determine if there is a Boothelper upgrade file for your version of Cisco IOS XR software.

To prepare for a Boothelper upgrade, copy the Boothelper upgrade file to the router or to a local workstation from which you can copy files to the router. You can also perform the upgrade with a Boothelper upgrade file located on a TFTP server.

SUMMARY STEPS

1. Establish a connection to the active RP.

2. dir bootflash:

3. format bootflash:

4. squeeze bootflash:

5. copy upgradeImage bootflash:

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Establish a connection to the active RP.

Allows you to manage the active RP.

For more information, see "Connecting and Communicating with the Router" in Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router.

Step 2 

dir bootflash:

Example:

RP/0/0/CPU0:Router# dir bootflash:

Displays the bootflash contents.

Boothelper filename shows the file version number.

If the correct version is in use, there is no need to upgrade.

Step 3 

format bootflash:

Example:

RP/0/0/CPU0:Router# format bootflash:

Formats bootflash and erases all contents.

Step 4 

squeeze bootflash:

Example:

RP/0/0/CPU0:Router# squeeze bootflash:

Permanently erases the files tagged as "deleted" in the file system.

Step 5 

copy upgradeImage bootflash:

Example:

RP/0/0/CPU0:Router# copy disk0:c12kprp-boot-mz.120-32.S3 bootflash:

Copies a file to bootflash.

File system changes you make to the active RP are replicated on the standby RP.

Example

In the following example, the bootflash is upgraded with a file located on a TFTP server.

RP/0/0/CPU0:router# dir bootflash:
Directory of bootflash:
10   -rwx  5192        Thu Apr 28 03:37:53 2005  crashinfo5
381  -rwx  5177        Wed Jun  1 22:12:54 2005  crashinfo4
440  -rwx  1389        Sat Jul 16 14:20:08 2005  snmp/ifindex-table
443  -rwx  3047        Sun Jul 24 06:19:25 2005  crashinfo
444  -rwx  5177        Sun Jul 24 06:30:00 2005  crashinfo3
445  -rwx  3223556     Thu Aug  4 21:55:27 2005  c12kprp-boot-mz.120-29.S
66322432 bytes total (58795492 bytes free)
RP/0/0/CPU0:router# format bootflash:
Format operation may take a while. Continue? [confirm] y
Format will destroy all data on "bootflash:". Continue? [confirm] y
Formatting sector 1
Format of bootflash: complete
RP/0/0/CPU0:router# squeeze bootflash:
All deleted files will be removed. Continue? [confirm] y
Squeeze operation may take a while. Continue? [confirm] y
Squeeze under progress 254
Squeeze of bootflash: complete
RP/0/0/CPU0:router# disk0:c12kprp-boot-mz.120-32.S7
Destination filename [/bootflash:/c12kprp-boot-mz.120-32.S7]? <return>
Accessing disk0:c12kprp-boot-mz.120-32.S7
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
3223556 bytes copied in     23 sec (   138000)bytes/sec
RP/0/0/CPU0:router# dir bootflash:
Directory of bootflash:
1    -rwx  3223556     Thu Aug  4 22:09:23 2005  c12kprp-boot-mz.120-32.S7
66322432 bytes total (63098748 bytes free)
RP/0/0/CPU0:router# 

How to Upgrade or Downgrade ROM Monitor

This section contains the following procedure:

Upgrading or Downgrading ROM Monitor

Upgrading or Downgrading ROM Monitor

As IOS XR images are bundled with ROMMON images, you can upgrade or downgrade ROM Monitor using the process below, which doesn't require copying an external file to the Route Processor's bootflash. The following procedure upgrades or downgrades the ROM Monitor.

Prerequisites

Before starting the procedure described in this section, complete the following:

Determine Route Processors that require upgrade or downgrade.

If you want to upgrade ROM Monitor without interrupting traffic through the router, install a standby RP and verify that the standby RP is operating in standby mode.


Note This procedure requries a reload of the Route Processor for which you are upgrading ROM monitor. This procedure will install the ROMMON release which is bundled with the IOS XR image.


SUMMARY STEPS

1. Establish a connection to the active Route Processor.

2. admin

3. show upgrade rommon location all

4. upgrade rommon location <location>

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Establish a connection to the active Route Processor.

Allows you to manage the active RP.

For more information, see "Connecting and Communicating with the Router" in Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router.

Step 2 

admin

Example:

RP/0/0/CPU0:router# admin

Enters administration EXEC mode.

Step 3 

show upgrade rommon location all

Example:

RP/0/0/CPU0:router(admin)# show upgrade rommon location all

Displays a list of RPs, line cards, and other cards that may require either upgrade or downgrade for the ROMMON. To find out such card, you need to view the compatibility of the ROMMON image with the bundled IOS XR image.

Step 4 

upgrade rommon location <location>

Example:

RP/0/0/CPU0:router(admin)# upgrade rommon location 0/0/CPU0

Upgrades the ROMMON and reloads the RP.

Displays a message indicating that RP card rom-monitor has upgraded successfully.

Displays a message indicating that RP is being reloaded.

The upgrade rommon location all upgrades the rommon for all available cards. And the upgrade rommon location all force command forces the rommon ugrade to all RP or line cards even if it is not required.

Example

In the following example, the ROM Monitor software is upgraded on a single RP:

RP/0/0/CPU0:router# admin
RP/0/0/CPU0:router(admin)# show upgrade rommon location all
Node           Type                    PLIM            Current        Image       Upgrade
                                                       Rommon         Rommon      Required
                                                       Version        Version 
------------------------------------------------------------------------------------------
0/0/CPU0        L3 Service Eng          N/A              1.3             1.3      No
0/1/CPU0        L3 Service Eng          N/A              1.3             1.3      No
0/2/CPU0        L3LC Eng 5+             Jacket Card      17.1            17.1     No
0/3/CPU0        L3LC Eng 5+             Jacket Card      19.1            17.1   No
0/4/CPU0        L3LC Eng 5+             Jacket Card      17.1            17.1   No
0/5/CPU0        PRP(Active)             N/A              1.17            1.23   Yes
0/16/CPU0       CSC6(P)                 N/A              N/A             N/A    N/A
0/18/CPU0       SFC6                    N/A              N/A             N/A    N/A
0/19/CPU0       SFC6                    N/A              N/A             N/A    N/A
0/20/CPU0       SFC6                    N/A              N/A             N/A    N/A
0/24/CPU0       ALARM6                  N/A              N/A             N/A    N/A
0/25/CPU0       ALARM6                  N/A              N/A             N/A    N/A
0/28/CPU0       GSR6-BLOWER             N/A              N/A             N/A    N/A
RP/0/0/CPU0:router(admin)# upgrade rommon location 0/5/CPU0
% RELOAD WARNING:
    RP ROMMON upgrade starting. If successful, RP will be reloaded.
Continue ? [no]: yes
========= Slot 5 =========
Starting to upgrade rom-monitor
Erasing sectors: eeeeeeee
Programming image: ppp
Verifying image: vvv
Upgraded RP rom-monitor successfully
Reloading RP now
P/0/5/CPU0:Nov 10 21:43:50.626 : redfs_svr[85]: %OS-REDFS-6-MIRROR_REDUNDANT : Mirroring 
is now fully redundant for devices disk0: and disk1:. 
RP/0/5/CPU0:Nov 10 21:43:55.164 : sysmgr[89]: %OS-SYSMGR-5-NOTICE : Card is COLD started  
RP/0/5/CPU0:Nov 10 21:43:58.753 : sysmgr[438]: %OS-SYSMGR-6-INFO : Backup system manager 
is ready  
RP/0/5/CPU0:Nov 10 21:44:11.462 : dsc[189]: %PLATFORM-DSC-6-INFO_I_AM_DSC : Setting myself 
as DSC 
RP/0/5/CPU0:Nov 10 21:44:04.450 : dsc[189]: DSC Election entry delay time for this RP is 4 
seconds 
RP/0/5/CPU0:Nov 10 21:44:18.208 : dumper_config[190]:  No HDD Controller found by process 
dumper 
RP/0/5/CPU0:Nov 10 21:44:18.680 : fctl[218]: %PLATFORM-FABRIC_CTRL-2-ERR_REPORT : PCDS: 
PCDS detected a cold bootn 
RP/0/5/CPU0:Nov 10 21:44:18.694 : fctl[218]:  PCDS init done with area at 0x601ce040 , 
size 4032 (n1784 required), 
RP/0/5/CPU0:Nov 10 21:44:45.138 : sysldr[436]: %PLATFORM-SYSLDR-6-INFO : Waiting for 
startup config to be applied before booting LCs 
RP/0/5/CPU0:Nov 10 21:44:51.426 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/2/0 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.441 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/2/1 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.446 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/2/2 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.459 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/3/1 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.470 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/4/0 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.475 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/4/1 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.480 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/4/2 
inserted  
RP/0/5/CPU0:Nov 10 21:44:51.484 : sysldr[436]: %PLATFORM-SYSLDR-5-OIRIN : OIR: Node 0/4/3 
inserted  
RP/0/5/CPU0:Nov 10 21:45:02.111 : sysldr[436]: %PLATFORM-POWERMGR-6-INFO : PEMs are in 
Non-Redundancy Mode now 
 This (D)RP Node is not ready or active for login /configuration 
--More--
RP/0/5/CPU0:router(admin)#upgrade rommon location all force
This may 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.
% UPGRADE ALL WARNING:
    ROMMON in RP(s) will not be upgraded by this command. Please upgrade
    RP's one by one using "upgrade rom location 0/x/CPU0."
Continue ? [no]: yes
Slot 0 is not in IOX Running state
Slot 1 is not in IOX Running state
========= Slot 2 =========
Starting to upgrade rom-monitor
Erasing sectors: eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Programming image: ppppppppp
Verifying image: vvvvvvvvv
Upgraded linecard rom-monitor successfully
========= Slot 3 =========
Starting to upgrade rom-monitor
Erasing sectors: eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Programming image: ppppppppp
Verifying image: vvvvvvvvv
Upgraded linecard rom-monitor successfully
========= Slot 4 =========
Starting to upgrade rom-monitor
Erasing sectors: eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Programming image: ppppppppp
Verifying image: vvvvvvvvv
Upgraded linecard rom-monitor successfully

Additional References

Related Documents

Related Topic
Document Title

Hardware component commands

Cisco IOS XR Interface and Hardware Component Command Reference

System management commands

Cisco IOS XR System Management Command Reference


Technical Assistance

Description
Link

The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/techsupport