cc/td/doc/product/access/acs_mod/3303e
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

ROM Monitor

ROM Monitor

ROM monitor is the firmware that runs when the Cisco Optical Networking System (ONS) 15304 is powered up or reset. The ROM monitor can help you isolate or rule out hardware problems encountered when installing the Cisco ONS 15304.

This appendix contains the following sections:

Entering the ROM Monitor

In normal operation, the ROM monitor helps initialize the processor hardware and boot the operating system software. To use the ROM monitor, you must have console port access.

From the operating system software, you can configure the Cisco ONS 15304 to remain in the ROM monitor the next time it boots by setting virtual configuration register bits 3, 2, 1, and 0 to zero. From the console, enter the following configuration command:

configuration-register 0x0 
 

The new configuration register value, 0x0, is effective after the Cisco ONS 15304 is rebooted with the reload command. The Cisco ONS 15304 remains in the ROM monitor and does not boot the operating system.

If the configuration value remains 0x0, you must manually boot the operating system from the console. Refer to the boot command in the "Command Descriptions" section .

Break (system interrupt) is always enabled for 60 seconds after the Cisco ONS 15304 reboots, regardless of whether it is configured on or off in the configuration register. During this 60-second window, you can break to the ROM monitor prompt by pressing the Break key.

The ROM monitor prompt is as follows:

rommon 1 >
 

In this example, 1 (the number one) is the line number and is incremented at each prompt.

ROM Monitor Commands

Enter help at the ROM monitor prompt to display a list of available commands and options. Table A-1 lists the ROM monitor commands.


Table A-1: ROM Monitor Commands
Command Purpose

alias

Set and display aliases command

arp

Dump ARP table

boot

Boot up an external process

confreg

Configuration register utility

context

Display the context of a loaded image

copy

Similar to the UNIX copy command, and allows Flash file copy

dir

List files in file system

frame

Print out a selected stack frame

help

Monitor built-in command help

history

Monitor command history

meminfo

Main memory information

ping

Ping utility

repeat

Repeat a monitor command

reset

System reset

rtc

Set real-time clock

set

Display the monitor variables

stack

Produce a stack trace

sync

Write monitor environment to NVRAM

sysret

Print out information from last system return

tconf

Configure TFTP-filename and/or MAC, IP, host-IP address

tftp

TFTP download protocol

unalias

Unset an alias

unset

Unset a monitor variable

To display information about command syntax, enter the command name followed by the -? option. Commands are case sensitive. You can cancel any command by pressing the Break key at the console.

Command Descriptions

The following ROM monitor commands are among the most useful:

Options to the boot command are -x, load image but do not execute, and -v, verbose.

The Cisco ONS 15304 commands show version and show hardware will display the source of the currently running image:

rommon 11 > dir flash:
         File size           Checksum   File name
       2229799 bytes (0x220627)   0x469e    C3600-j-m2
 

Debugging Commands

Most debugging commands are functional only when Cisco ONS 15304 software has crashed or is aborted. If you enter a debugging command and Cisco ONS 15304 crash information is not available, the following error message displays:

"xxx: kernel context state is invalid, cannot proceed."
 
rommon 8 > sysret
System Return Info:
count: 19, reason: user break
pc:0x60043754, error address: 0x0
Stack Trace:
FP: 0x80007e78, PC: 0x60043754
FP: 0x80007ed8, PC: 0x6001540c
FP: 0x80007ef8, PC: 0x600087f0
FP: 0x80007f18, PC: 0x80008734
 
rommon 9 > meminfo
Main memory size: 16 MB in 64-bit mode.
Available main memory starts at 0xa000e000, size 16328KB
IO (packet) memory size: 25 percent of main memory.
NVRAM size: 128KB

Configuration Register

The virtual configuration register resides in NVRAM and is identical in operation to other Cisco ONS 15304s. You can view or modify the virtual configuration register from either the ROM monitor or the operating system software.

To change the virtual configuration register from the ROM monitor, enter confreg by itself for menu mode, or enter the new value of the register in hexadecimal.

In either case, the new virtual configuration register value is written into NVRAM, but is not effective until you reset or power-cycle the Cisco ONS 15304.

The following display shows an example of menu mode:

rommon 7 > confreg
    Configuration Summary
enabled are:
break/abort has effect
console baud: 9600
boot: the ROM Monitor
do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: y
enable "use net in IP bcast address"? y/n [n]: 
enable "load rom after IOSboot fails"? y/n [n]: 
enable "use all zero broadcast"? y/n [n]: 
disable "break/abort has effect"? y/n [n]: 
enable "ignore system config info"? y/n [n]: 
change console baud rate? y/n [n]: y
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
            4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]:0
change the boot characteristics? y/n [n]: y
enter to boot:
 0 = ROM Monitor
 1 = default boot image - "flash:/c3303-i4-mz"
 2 = user specified image #1 - "flash:/c3303-i4-mz"
 3 = user specified image #2 - "flash:/c3303-i4-mz"
 
    Configuration Summary 
enabled are: 
diagnostic mode
console baud: 9600
boot: the ROM Monitor
do you wish to change the configuration? y/n [n]: 
You must reset or power cycle for new config to take effect

Procedures for Recovering Boot and System Images

If your Cisco ONS 15304 experiences difficulties and no longer contains a valid software image in Flash memory, you can recover the image using the following ROM monitor commands:

Using the tconf Command

Use the tconf command to configure the settings for the TFTP file. This command and these options apply only to the ROM monitor. Command options include the following:

Using the tftp Command

Use the tftp command to download Cisco IOS images. Command options include the following:


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Feb 24 12:21:34 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.