Chapter 5 ROM Monitor Overview and Basic Procedures

Displaying the Configuration Register Setting

help

monitor

builtin command help

history

monitor

command history

meminfo

main memory information

repeat

repeat a monitor command

reset

system reset

set

display

the monitor variables

showmon

display

currently selected ROM monitor

stack

produce

a stack trace

sync

write monitor environment to NVRAM

sysret

print out info from last system return

tsec

print out info from the ethernet driver

unalias

unset an alias

unset

unset a

monitor variable

Changing the ROM Monitor Prompt

You can change the prompt in ROM Monitor mode by using the PS1= command as shown in the following example:

rommon 8 > PS1="ISR4400 rommon ! > "

ISR4400 rommon 9 >

Changing the prompt is useful if you are working with multiple routers in ROM Monitor at the same time. This example specifies that the prompt is “” followed by the line number.

Displaying the Configuration Register Setting

To display the current configuration register setting, enter the confreg command without parameters as follows:

rommon > confreg

Configuration Summary (Virtual Configuration Register: )

enabled are: console baud: 9600 boot: the ROM Monitor

do you wish to change the configuration? y/n [n]:

The configuration register setting is labeled Virtual Configuration Register. Enter the no command to avoid changing the configuration register setting.

Environment Variable Settings

The ROM Monitor environment variables define the attributes of the ROM Monitor. Environmental variables are entered like commands and are always followed by the equal sign (=). Environment variable settings are entered in capital letters, followed by a definition. For example:

IP_ADDRESS=10.0.0.2

Hardware Installation Guide for the Cisco 4451-X Integrated Services Router

5-5

Page 111
Image 111
Cisco Systems ISR4451XK9 manual Displaying the Configuration Register Setting, Environment Variable Settings