Cisco VG204 Software Configuration Guide - Page 43

Command Descriptions

Page 43 highlights

Appendix A Using the ROM Monitor Command Descriptions dev dir dis frame help history iomemset meminfo repeat reset rommon-pref set showmon stack sync sysret tftpdnld unalias unset xmodem rommon 1 > List the device table List files in directories-dir display instruction stream print out a selected stack frame monitor builtin command help monitor command history Set IO memory percent main memory information repeat a monitor command system reset Select ROMMON display the monitor variables Display currently selected ROM monitor produce a stack trace write monitor environment to NVRAM print out info from last system return tftp image download unset an alias unset a monitor variable x/ymodem image download Commands are case sensitive. You can halt any command by pressing the Break key on a terminal. If you are using a PC, most terminal emulation programs halt a command when you press the Ctrl and the Break keys at the same time. If you are using another type of terminal emulator or terminal emulation software, see the documentation for that product for information on how to send a Break command. Command Descriptions Table A-1 describes the most commonly used ROM monitor commands. Table A-1 Commonly Used ROM Monitor Commands Command help or ? -? reset or i dir device: Description Displays a summary of all available ROM monitor commands. Displays information about command syntax; for example: rommon 16 > dis -? usage : dis [addr] [length] The output for this command is slightly different for the xmodem download command: rommon 11 > xmodem -? xmodem: illegal option -- ? usage: xmodem [-cyrxu] -c CRC-16 -y ymodem-batch protocol Resets and initializes the voice gateway, similar to a power up. Lists the files on the named device; for example: rommon 5 > dir flash: Directory of flash: 2 1343152 -rw- cVG204-advipservices-k9.mz rommon 6 > OL-16191-01 Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide A-3

  • 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

A-3
Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide
OL-16191-01
Appendix A
Using the ROM Monitor
Command Descriptions
dev
List the device table
dir
List files in directories-dir <directory>
dis
display instruction stream
frame
print out a selected stack frame
help
monitor builtin command help
history
monitor command history
iomemset
Set IO memory percent
meminfo
main memory information
repeat
repeat a monitor command
reset
system reset
rommon-pref
Select ROMMON
set
display the monitor variables
showmon
Display currently selected ROM monitor
stack
produce a stack trace
sync
write monitor environment to NVRAM
sysret
print out info from last system return
tftpdnld
tftp image download
unalias
unset an alias
unset
unset a monitor variable
xmodem
x/ymodem image download
rommon 1 >
Commands are case sensitive. You can halt any command by pressing the Break key on a terminal. If
you are using a PC, most terminal emulation programs halt a command when you press the Ctrl and the
Break keys at the same time. If you are using another type of terminal emulator or terminal emulation
software, see the documentation for that product for information on how to send a Break command.
Command Descriptions
Table A-1
describes the most commonly used ROM monitor commands.
Table A-1
Commonly Used ROM Monitor Commands
Command
Description
help
or
?
Displays a summary of all available ROM monitor commands.
-?
Displays information about command syntax; for example:
rommon 16 >
dis -?
usage : dis [addr] [length]
The output for this command is slightly different for the
xmodem
download
command:
rommon 11 >
xmodem -?
xmodem: illegal option -- ?
usage: xmodem [-cyrxu] <destination filename>
-c
CRC-16
-y
ymodem-batch protocol
reset
or
i
Resets and initializes the voice gateway, similar to a power up.
dir
device
:
Lists the files on the named device;
for example:
rommon 5 >
dir flash
:
Directory of flash:
2 1343152 -rw- cVG204-advipservices-k9.mz
rommon 6 >