Cisco IOS XR ROM Monitor Guide, Release 3.4
Upgrading and Downgrading ROM MonitorFirmware on Cisco CRS-1 Routers
Downloads: This chapterpdf (PDF - 240.0KB) The complete bookPDF (PDF - 1.33MB) | Feedback

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.

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 on operating the router in ROM Monitor mode is provided in 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 on starting and configuring Boothelper is provided in 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

The following procedure upgrades or downgrades 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.

Step 2 

dir bootflash:

Example:

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

Displays the bootflash contents.

The 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.

The 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.S3
Destination filename [/bootflash:/c12kprp-boot-mz.120-32.S3]? <return>
Accessing disk0:c12kprp-boot-mz.120-32.S3
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.S3
 
   
66322432 bytes total (63098748 bytes free)
RP/0/0/CPU0:router# 

How to Upgrade or Downgrade ROM Monitor

This section contains the following procedures:

Upgrading or Downgrading ROM Monitor

Upgrading or Downgrading ROM Monitor

The following procedure upgrades or downgrades the ROM Monitor.

Prerequisites

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

Determine if there is an ROM Monitor upgrade file for your version of Cisco IOS XR software.

To prepare for a ROM Monitor upgrade, copy the ROM Monitor upgrade file to the router or to a local workstation from which you can copy files to the router.

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.

SUMMARY STEPS

1. Establish a connection to the active RP.

2. show version

3. copy source destination

4. dir device

5. admin

6. If you are upgrading a standalone RP, go to Step 15.

7. show redundancy

8. config-register 0x0

9. redundancy switchover

10. confreg 0x2

11. boot upgradeImage

12. Establish a connection to the active RP (formerly the standby RP).

13. admin

14. show redundancy

15. config-register 0x0

16. redundancy switchover or reload

17. confreg 0x2

18. boot upgradeImage

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.

Step 2 

show version

Example:

RP/0/0/CPU0:Router# show version

Displays software version information.

The ROM Monitor version appears near the top of the show version command display. The line is labeled "ROM:."

Review the command display to determine which version of ROM Monitor is in use on the RP. If the correct version is in use, there is no need to upgrade.

Step 3 

copy source destination

Example:

RP/0/0/CPU0:Router# copy tftp:software/filename disk0:

Copies the ROM Monitor upgrade file to the router.

Copy the upgrade file to the root directory of any device on the router. For example, you can copy the file to disk0.

Step 4 

dir device

Example:

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

Displays the directory contents for a device root directory.

Verify that the upgrade file appears in the directory.

Step 5 

admin

Example:

RP/0/0/CPU0:router# admin

Enters administration EXEC mode.

Step 6 

If you are upgrading a standalone RP, go to Step 15

Step 7 

show redundancy

Example:

RP/0/0/CPU0:router(admin)# show redundancy

Displays the status of the standby RP.

Verify that the standby RP is working properly.

If the standby RP is not ready, there is a traffic interruption during the upgrade.

Step 8 

config-register 0x0

Example:

RP/0/0/CPU0:router(admin)# config-register 0x0

Set the configuration register on the active RP to 0x0.

This configures the RP to load ROM Monitor when it restarts.

Step 9 

redundancy switchover

Example:

RP/0/0/CPU0:Router# redundancy switchover

Reloads the active RP in a dual RP router.

The former standby RP becomes the active RP.

The former active RP restarts in ROM Monitor mode due to the configuration register setting defined in Step 8.

Note The redundancy switchover command does not reload the software if the standby RP is not ready to take over.

Step 10 

confreg 0x2

Example:

rommon1> confreg 0x2

Resets the configuration register to enter EXEC mode when the system is reset.

Step 11 

boot upgradeImage

Example:

rommon2> boot upgradeImage

Boots the RP with the ROM Monitor upgrade image.

Step 12 

Establish a connection to the active RP (formerly the standby 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.

Step 13 

admin

Example:

RP/0/1/CPU0:router# admin

Enters administration EXEC mode.

Step 14 

show redundancy

Example:

RP/0/0/CPU0:router(admin)# show redundancy

Displays the status of the standby RP.

Verify that the standby RP is working properly.

If the standby RP is not ready, there is a traffic interruption during the upgrade.

Step 15 

config-register 0x0

Example:

RP/0/1/CPU0:router(admin)# config-register 0x0

Set the configuration register on the active RP to 0x0.

Step 16 

redundancy switchover or reload

Example:

RP/0/1/CPU0:Router# redundancy switchover

or

RP/0/1/CPU0:Router# reload

Reloads the active RP.

Use the redundancy switchover command in a dual RP router. The former standby RP becomes the active RP, and the former active RP restarts in ROM Monitor mode due to the configuration register setting defined in Step 15.

Note The redundancy switchover command does not reload the software if the standby RP is not ready to take over.

Use the reload command in a single RP router.

Note When the reload command is entered on a single RP router, all traffic is interrupted.

Step 17 

confreg 0x2

Example:

rommon B1> confreg 0x2

Resets the configuration register to enter EXEC mode when the system is reset.

Step 18 

boot upgradeImage

Example:

rommon B2> boot upgradeImage

Boots the RP with the ROM Monitor upgrade image.

Example

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

RP/0/0/CPU0:router# show version | include ROM
 
   
ROM: System Bootstrap, Version 12.0(20040624:164256) [assafb-misc1 1.14dev(0.91)
] SOFTWARE
 
   
 
   
RP/0/0/CPU0:router# copy tftp://192.168.1.1/users/bfprp_romupgrade-1.14.0.91 disk0:
 
   
Destination filename [/disk0:/bfprp_romupgrade-1.14.0.91]?
Copy : Destination exists, overwrite ?[confirm]
Accessing tftp://192.168.1.1/users/bfprp_romupgrade-1.14.0.91
CCCCCCCCCCC
170268 bytes copied in      0 sec
 
   
RP/0/0/CPU0:router# dir disk0:                                         
 
   
Directory of disk0:
 
   
2           drwx  4096        Sun Jul 31 02:25:48 2005  LOST.DIR
3           drwx  4096        Sun Jul 31 02:25:52 2005  config
37          drwx  4096        Sun Jul 31 02:27:48 2005  c12k-os-mbi-3.4.0
4040        drwx  4096        Sun Jul 31 02:47:44 2005  instdb
4042        drwx  4096        Sun Jul 31 02:31:14 2005  c12k-base-3.4.0
19570       drwx  4096        Sun Jul 31 02:31:32 2005  c12k-admin-3.4.0
20991       drwx  4096        Sun Jul 31 02:31:58 2005  c12k-fwdg-3.4.0
22567       drwx  4096        Sun Jul 31 02:32:30 2005  c12k-lc-3.4.0
25548       drwx  4096        Sun Jul 31 02:32:54 2005  c12k-rout-3.4.0
29          drwx  4096        Sun Jul 31 02:38:49 2005  shutdown
28460       dr-x  4096        Sun Jul 31 02:40:03 2005  aaa
28468       drwx  4096        Sun Jul 31 02:36:53 2005  usr
28469       drwx  4096        Sun Jul 31 02:36:53 2005  var
66592       -rwx  2765        Sun Jul 31 02:45:50 2005  sam_certdb
28494       drwx  4096        Sun Jul 31 02:45:39 2005  c12k-infra-test-3.4.0
66784       -rwx  126         Sun Jul 31 02:45:50 2005  sam_crldb
66880       -rwx  170268      Thu Aug  4 22:21:21 2005  bfprp_romupgrade-1.14.0.
91
 
   
256462848 bytes total (113434624 bytes free)
RP/0/0/CPU0:router#
 
   
RP/0/0/CPU0:router(admin)# config-register 0x0   
 
   
Successfully set config-register to 0x0 on node 0/0/CPU0   
 
   
RP/0/0/CPU0:router(admin)# exit
RP/0/0/CPU0:router# reload
Updating Commit Database.  Please wait...[OK]
Proceed with reload? [confirm] y
 
   
System Bootstrap, Version 12.0(20040624:164256) [assafb-misc1 1.14dev(0.91)] DEV
ELOPMENT SOFTWARE
Copyright (c) 1994-2004 by cisco Systems, Inc.
 
   
DRAM DIMM Slot 1: 512M found, Slot 2: Empty
MPC7450 platform with 524288 Kbytes of main memory
 
   
rommon 2 > confreg 0x2                   
rommon 3 > boot disk0:bfprp_romupgrade-1.14.0.91 
 
   
GRP Boot ROM Programming6322432 bytes total (620
Verify the device manufacturing code                      
RP/0/0/CPU0:i
mft = 0x1, dev = 0x4F tftp://192.168.1.1
Erasing Flashot-users$    
Sector address = fff00000                         
Erasing the Flash...   
% Incomplete com
Sector address = fff10000
RP/0/0/CPU0:iox1-shared-
Erasing the Flash...192.168.1.1/auto/t
Sector address = fff20000                         
Erasing the Flash...                    
Sector address = fff30000ootflash:/c12kprp-boot-mz
 
   
Erasing the Flash...                    
Sector address = fff40000    
Copy : Destination e
Erasing the Flash...nfirm]              
Sector address = fff50000       
Accessing tftp://
Erasing the Flash...tftpboot-users/
Sector address = fff60000                         
Erasing the Flash...                    
Sector address = fff70000                         
Erasing the Flash...                  
Verifying FlashCCCCCCCCCCCCCCC
Verify Boot Sector Complete!                            
All Programming Complete!                  
CCCCCC
Verify Boot Sector Complete!                            
All Programming Complete!                  
CCCCCC
 
   
 
   
 
   
router con0/0/CPU0 is now available
 
   
 
   
 
   
 
   
 
   
Press RETURN to get started.
 
   
 
   
 
   
 
   
Username: user
Password: secret
RP/0/0/CPU0:router#

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