ROM Monitor
ROM Monitor Commands
3
Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide
hardware_info display hardware information
help monitor builtin command help
history monitor command history
meminfo memory information (-spd dumps SDRAM cookie)
reset system reset
rommon-pref select ROMMON
set show all 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
tftpdnld tftp image download
unalias unset an alias
unset unset a monitor variable
Note
You can display additional details for a command by entering the command name with a
-?
option, which
prints the command usage message.
The commands are listed and described in alphabetical order. Note that the ROM monitor commands are
case sensitive.
•
alias
[
name
=
value
]—Aliases a name to a value. If the value contains white space or other special
(shell) characters, it must be enclosed in quotation marks. If the value has a space as the last
character, the next command-line word is also checked for an alias (normally only the first word on
the command line is checked). Without an argument, this command prints a list of all aliased names
with their values.
For example:
rommon 1 >
alias
r = repeat
h = history
? = help
b = boot
ls = dir
•
boot
or
b
—Boots an image. The
boot
command with no arguments boots the first image in boot
flash memory. You can include an argument,
filename
, to specify a file to be booted over the network
using the Trivial File Transfer Protocol (TFTP). The local device (see the description of
b
device
following) can be specified by entering the device specifier (
devid
). If the specified device name is
not recognized by the ROM monitor, the system attempts to boot the image (
imagename
) from a
network TFTP server. Do not insert a space between
devid
and
imagename
. Options to the
boot
command are
-x
, load image but do not execute, and
-v
, verbose. The form of the
boot
command
follows:
The Cisco AS5350XM and Cisco AS5400XM universal gateways support the following three boot
commands at the ROM monitor level:
boot [-xv] [devid] [imagename]
b
—load/run the first XM image on flash.
b
flash:filename
—Load or run the image pointed to by flash:filename.
•
confreg
[
hexnum
]—When executed with the argument
hexnum
, changes the virtual configuration
register to match the hex number specified. Without the argument, the
confreg
command dumps the
contents of the virtual configuration register in English and allows you to alter the contents. You are