Cisco VG224 Software Guide - Page 59

Debugging Commands, Configuration Register Commands, reset, tftpdnld, show rom-monitor, showmon - transfer a transferred call

Page 59 highlights

Appendix C Using the ROM Monitor Entering the ROM Monitor Mode • reset or i-Reset and initialize the router, similar to power-on. • tftpdnld-Download an image using Trivial File Transfer Protocol (TFTP) from a remote server. • show rom-monitor-Shows version of read-only ROMMON, and if present, the upgrade version of ROMMON. It also shows the current version of ROMMON, which version will be selected for execution when the Cisco IOS software is booted again. This command is available in the Cisco IOS EXEC mode. - showmon-Available in the ROMMON command mode. Provides the same information as the show rom-monitor command in the Cisco IOS EXEC mode. • upgrade rom-monitor [file|preference[readonly|upgrade]]-Installs and reloads a new version of ROMMON in the Cisco IOS exec mode. URL refers to the path where the new ROMMON image is stored. Prompts the user to save the configuration. - upgrade rom-monitor preference [readonly|upgrade]-Selects the version of ROMMON to be loaded the next time the router is reloaded. This command is used in the Cisco IOS EXEC mode. - rommon-pref-Used in ROMMON command mode. Provides the same information as upgrade rom-monitor preference command in the Cisco IOS EXEC mode. - fpga-pref [readonly|system]-Field Programmable Gate-Array (FPGA), used in ROMMON command mode. Selects which FPGA to run. Debugging Commands 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 appears: "xxx: kernel context state is invalid, can not proceed." • stack or k-Produces a stack trace. • context-Displays processor context. • frame-Displays an individual stack frame. • sysret-Displays return information from the last booted system image. This information 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, reason: a SegV exception pc:0x802b1040, error address: 0x802b1040 Stack Trace: FP: 0x80908398, PC: 0x802b102c FP: 0x809083b0, PC: 0x802b0b88 FP: 0x809083d8, PC: 0x8017039c FP: 0x809083e8, PC: 0x8016f764 Configuration Register Commands The virtual configuration register resides in NVRAM. You can display or modify the virtual configuration register from either the ROM monitor or the operating system software. OL-5005-01 Cisco VG224 Voice Gateway Software Configuration Guide C-5

  • 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

C-5
Cisco VG224 Voice Gateway Software Configuration Guide
OL-5005-01
Appendix C
Using the ROM Monitor
Entering the ROM Monitor Mode
reset
or
i
—Reset and initialize the router, similar to power-on.
tftpdnld
—Download an image using Trivial File Transfer Protocol (TFTP) from a remote server.
show rom-monitor
—Shows version of read-only ROMMON, and if present, the upgrade version
of ROMMON. It also shows the current version of ROMMON, which version will be selected for
execution when the Cisco IOS software is booted again. This command is available in the Cisco IOS
EXEC mode.
showmon
—Available in the ROMMON command mode. Provides the same information as the
show rom-monitor
command in the Cisco IOS EXEC mode.
upgrade rom-monitor
[file<URL>|preference[readonly|upgrade]]
—Installs and reloads a new
version of ROMMON in the Cisco IOS exec mode. URL refers to the path where the new ROMMON
image is stored. Prompts the user to save the configuration.
upgrade rom-monitor preference
[readonly|upgrade]
—Selects the version of ROMMON to
be loaded the next time the router is reloaded. This command is used in the Cisco IOS EXEC
mode.
rommon-pref
—Used in ROMMON command mode. Provides the same information as
upgrade rom-monitor preference
command in the Cisco IOS EXEC mode.
fpga-pref
[
readonly
|
system
]—Field Programmable Gate-Array (FPGA), used in ROMMON
command mode. Selects which FPGA to run.
Debugging Commands
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 appears:
“xxx: kernel context state is invalid, can not proceed.”
stack
or
k
—Produces a stack trace.
context
—Displays processor context.
frame
—Displays an individual stack frame.
sysret
—Displays return information from the last booted system image. This information 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,
reason: a SegV exception
pc:0x802b1040,
error address: 0x802b1040
Stack Trace:
FP: 0x80908398, PC: 0x802b102c
FP: 0x809083b0, PC: 0x802b0b88
FP: 0x809083d8, PC: 0x8017039c
FP: 0x809083e8, PC: 0x8016f764
Configuration Register Commands
The virtual configuration register resides in NVRAM. You can display or modify the virtual
configuration register from either the ROM monitor or the operating system software.