|
|
This appendix describes the Cisco 4000-M ROM monitor, which is also known as the bootstrap program. The ROM monitor can help you isolate or rule out hardware problems encountered when installing your router. A summary of the ROM monitor diagnostic tests and command options is provided.
The ROM monitor diagnostics help initialize the processor hardware and boot the main operating system software. If you set the software configuration register (bits 3, 2, 1, and 0) to zero, you can start the server in the standalone ROM monitor. The ROM monitor prompt is an angle bracket (>).
Enter the following command at the ROM monitor prompt (>) to enable the Break key and to default to booting in the ROM monitor:
o/r 0x0
See Table E-1 for an explanation of the o/r command.
While running the system software, you can reset the configuration register to 0x0 by entering configuration mode, and then entering the following configuration command:
config-register 0x0
The new configuration register value, 0x0, takes effect after the router is rebooted. If you set the configuration to 0x0, you must manually boot the system each time you reboot the router.
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:
Enter the i command after entering the o/r command to automatically reboot the router.
Table E-1 lists additional o command options.
The time to run a diagnostic is memory-size dependent. It will take a minimum of ten minutes. If the program encounters memory problems, it will display appropriate error messages on the console terminal. Be sure to reinitialize the processor before booting the system by entering i at the ROM monitor prompt.
Take the following steps to run the ROM monitor diagnostics:
Copyright 1988-1996 © Cisco Systems Inc.
Available ROM Monitor Commands
?
$ 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.
> o/r 0x0
o/r
Monitor Command
Function
o
Displays the virtual configuration register currently in effect, with a description of the bits
o/r
Resets the virtual configuration register to the defaults as follows:9600-baud console UART1 speed Break/abort has no effect Ignore the system configurationBoot from ROM
o/r 0xvalue
Sets the virtual configuration register to the (hex) value, value
1 UART= Universal Asynchronous Receiver/Transmitter.
> t m
Running the Diagnostics
![]()
![]()
![]()
![]()
![]()
![]()
![]()