Cisco WS-C4003-RF Hardware Maintenance Manual - Page 124

Available ROM Monitor Commands, Display Stack Trace-The

Page 124 highlights

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: ? $ 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. The following Cisco 4000-M ROM monitor commands are among the most useful: • 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. C-2 Cisco 4000 Series Hardware Installation and Maintenance

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143

C-2
Cisco 4000 Series Hardware Installation and Maintenance
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:
?
$
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.
The following Cisco 4000-M ROM monitor commands are among the most useful:
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.