Available Rom Monitor Commands - Cisco EF4116 Hardware Installation And Maintenance Manual

4000 series
Table of Contents

Advertisement

Entering the Cisco 4000-M ROM Monitor Program

Available ROM Monitor Commands

At the ROM monitor prompt, enter a question mark (?) at the > prompt to display a list of available
commands and options, as follows:
The following Cisco 4000-M ROM monitor commands are among the most useful:
C-2 Cisco 4000 Series Hardware Installation and Maintenance
?
$
Toggle cache state
B [filename] [TFTP Server IP address | TFTP Server Name]
Load and execute system image from ROM or from TFTP server
C [address]
Continue [optional address]
D /S M L V
Deposit value V of size S into location L with modifier M
E /S M L
Examine location L with size S with modifier M
G [address]
Begin execution
H
Help for commands
I
Initialize
K
Displays Stack trace
L [filename] [TFTP Server IP address | TFTP Server Name]
Load system image from ROM or from TFTP server, but do not
begin execution
O
Show software configuration register option settings
P
Set break point
S
Single step next instruction
T function
Test device (? for help)
Deposit and Examine sizes may be B (byte), L (long) or S (short).
Modifiers may be R (register) or S (byte swap).
Register names are: D0-D7, A0-A7, SS, US, SR, and PC.
Boot—The b command with no argument reboots the system and boots the default software from
ROM as defined by the lower four bits of the configuration register, which form the boot field.
You can include an argument, filename, to specify a file to be booted over the network using the
Trivial File Transfer Protocol (TFTP). You can also include a second argument, host, which is
the Internet address or name of a particular server host. You must enter i and press Return before
entering b. The various forms of the b command follow:
b—Boots the default system software from ROM
b filename [host]—Netboots using TFTP
b flash—Boots the first file in Flash memory
b flash [filename]—Boots the file (filename) from Flash memory
To prevent the router from automatically booting over the network, enter the o/r 0x0 command
as follows:
> o/r 0x0
Continue—The c command allows you to exit the ROM monitor without rebooting the router
after you press the Break key while running the system software image.
Help—The h command prints a summary of the ROM monitor commands to the console
screen.This is the same output as entering ?.
Initialize—The i command causes the ROM monitor to reinitialize the hardware, clear the
contents of memory, and boot the system if so directed by the boot field in the virtual
configuration register. (It is best to use the i command before running any tests or booting
software.)
Display Stack Trace—The k command displays a stack trace of the last running system software.
This will be useful as a diagnostic reading if a problem occurs, such as an unexpected system
crash.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents