|
|
the firmware that runs when the router is powered up or reset. The ROM monitor can help you isolate or rule out hardware problems encountered when installing your router.
This appendix contains the following sections:
In normal operation, the ROM monitor helps to initialize the processor hardware and boot the operating system software. To use the ROM monitor, you must have console port access. Refer to the section "Console Port" in the chapter "Installing the Router."
From the operating system software, you can configure the router 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 router is rebooted with the reload command. The router 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 section "Command Descriptions" later in this appendix.
The ROM monitor prompt is as follows:
In this example, 1 (the number one) is the line number and is incremented at each prompt.
Enter ? or help at the ROM monitor prompt to display a list of available commands and options, as follows:
Commands are case-sensitive. You can cancel any command by pressing the Break key at the console.
ROM Monitor Syntax Conventions
The ROM monitor syntax in this appendix uses the following conventions:
The following ROM monitor commands are among the most useful:
Most debugging commands are functional only when Cisco IOS software has crashed or is aborted. If you enter a debugging command and Cisco IOS crash information is not available, the following error message displays:
The virtual configuration register resides in NVRAM and is identical in operation to other Cisco routers. You can view or modify the virtual configuration register from either the ROM monitor or the operating system software. For procedures for changing the virtual configuration register from the operating system, and for information about register settings, see the appendix "Virtual Configuration Register."
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.
The xmodem command establishes a connection between a console and the router console or auxiliary port for disaster recovery if both the boot and system images are erased from Flash memory. For a description of the disaster recovery procedure, refer to the section "Recovering Software Images" in the chapter "Troubleshooting."
Other options are:
Copyright 1988-1996 © Cisco Systems Inc.
rommon 1 >
rommon 1 > ?
alias set and display aliases command
boot boot up an external process
break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
cookie display contents of cookie PROM in hex
dev list the device table
dir list files in file system
dis disassemble instruction stream
dnld serial download a program module
frame print out a selected stack frame
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
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
unalias unset an alias
unset unset a monitor variable
xmodem x/ymodem image download
rommon 2 >
rommon 10 > dev
Devices in device table:
id name
flash: flash
slot0: PCMCIA slot 0
slot1: PCMCIA slot 1
eprom: eprom
rommon 11 > dir flash:
File size Checksum File name
2229799 bytes (0x220627) 0x469e C3600-j-m2
"xxx: kernel context state is invalid, can not 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 32-bit mode.
Available main memory starts at 0xa000e000, size 16328KB
IO (packet) memory size: 25 percent of main memory.
NVRAM size: 128KB
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 netboot 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 = the boot helper image
2-15 = boot system
[0]: 0
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
![]()
![]()
![]()
![]()
![]()
![]()
![]()