ROM Monitor
NVRAM size:0x80000
Main memory control register:0xbe9022f4
Shared memory control register:0x00000202
reset or i—Resets and initializes the system, similar to power up.
•
rommon-pref [readonly | upgrade]—Selects the ROM monitor image to be booted on the next
•
reload.
set—Displays all the monitor variables and their values.
•
showmon—Displays both ROM monitor images and verifies which image is running.
•
For example:
rommon 1 > showmon
ReadOnly ROMMON version is:
System Bootstrap, Version 12.3(12r)PI6, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2004 by cisco Systems, Inc.
Upgrade ROMMON version is:
System Bootstrap, Version 12.3(12r)PI6, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2004 by cisco Systems, Inc.
Upgrade ROMMON currently running
Upgrade ROMMON is selected for next boot
•
stack [num]—Produces a stack trace of the number of frames, specified by num. The default is 5.
The command dumps from the kernel stack and the process stack (if one is available) of a booted
image.
For example:
rommon 5 > stack 8
Stack trace:
PC = 0x02004adc
Frame 00: FP = 0x02003938
Frame 01: FP = 0x02003948
Frame 02: FP = 0x02003960
Frame 03: FP = 0x02003994
Frame 04: FP = 0x02003b00
•
sync—Writes the working in-core copy of the environment variables and aliases them to NVRAM
so that they are read on the next reset.
•
sysret—Displays the return information from the last booted system image. This includes the reason
for terminating the image, a stack dump of up to eight frames, and if an exception is involved, the
address where the exception occurred.
For example:
rommon 8 > sysret
System Return Info:
count: 19,
pc:0x60043754,
Stack Trace:
FP: 0x80007e78, PC: 0x60043754
FP: 0x80007ed8, PC: 0x6001540c
FP: 0x80007ef8, PC: 0x600087f0
FP: 0x80007f18, PC: 0x80008734
RA = 0x02005f2a
RA = 0x02005df0
RA = 0x020050ee
RA = 0x02004034
RA = 0x00012ca6
reason: user break
error address: 0x0
Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide
ROM Monitor Commands
7