Configuring ROM

ROM monitor is a ROM−based program that can be configured to execute upon the following conditions:

Upon boot−up

Upon recycling the switch power

When a fatal exception error occurs

When the switch fails to find a valid system image

If the nonvolatile RAM (NVRAM) configuration is corrupt

If the configuration register is set to enter ROM monitor mode

The ROM monitor CLI is present only on the Supervisor Engine III, Catalyst 4000, and the 2948G series switch Supervisor Engine modules. When the switch is in the ROM monitor mode, the switch will allow you to load a system image manually from Flash memory, from a Trivial File Transfer Protocol (TFTP) file, or from the bootflash.

Entering ROM Configuration Mode

You can enter ROM configuration mode by using one of these two methods:

Cycle the power on the switch and press the Break key during the first 60 seconds of startup. (The Break key is enabled for the first 60 seconds after cycling the power on the switch.)

Enter ROM mode through a terminal server, using Telnet or another terminal emulation program. Enter the break command as soon as the power is cycled on the switch.

ROM monitor has its own unique prompt that informs you when you have entered ROM monitor mode. The prompt you will see when you have entered ROM configuration mode is rommon>.

Booting ROM Mode from a Flash Device

To boot from a flash device, you can use the following syntax, which is shown in Table 2.9:

boot [−xv] [device][imagename]

Table 2.9 : The boot command syntaxes.

Syntax

Meaning

−x

Identifies the image to load but not execute

−v

Identifies a need to use verbose mode

device

Identifies the device

imagename

Identifies the image to use

The image name is optional. If no image name is presented, the system defaults to the first valid file in the device. Remember that file names are case sensitive. Let’s look at an example of using this command:

rommon> boot −x bootflash:cat5000−sup2.2−2.bin

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Uncompressing file:

#######################################################################

#######################################################################

#######################################################################

50

Page 66
Image 66
Cisco Systems RJ-45-to-AUX manual Configuring ROM, Entering ROM Configuration Mode, Booting ROM Mode from a Flash Device