
A-33
Cisco Broadband Cable Command Reference Guide
OL-1581-07
Appendix A Using the ROM Monitor
repeat
repeat
To repeat a particular ROM monitor command from the history list, use the
repeat
command in ROM
monitor mode.
repeat
[
number
[
count
] |
string
[
count
] ]
Syntax Description
Defaults
If given without any arguments, repeats the previous command once.
Command Modes
ROM monitor
Command History
Usage Guidelines
The
repeat
command repeats one of the commands in the history list (which can contain up to 16
commands). You can specify the command to be repeated by its history number (as shown by the
history
command) or by a string that will match the command.
If you do not give any arguments with the command, it repeats the last command in the history list once.
Note
The
repeat
command is not added to the
history
list, so you cannot repeat the
repeat
command. You
also cannot include the
repeat
command on a command line that has multiple commands separated by
a semicolon delimiter.
Examples
The following example shows how to use the repeat command to execute one of the commands in the
history list:
rommon 9 >
history
number
(Optional) Specifies the number, as listed in the
history
command, of the
command to be repeated.
string
(Optional) Specifies a string to be compared against the commands in the
history
list. The most recent command that matches the
string
is repeated. If
the
string
includes spaces, it must be enclosed within quotes.
count
(Optional) Specifies the number of times the command should be executed. The
default is 1.
Release
Modification
11.3 NA
This command was introduced on Cisco uBR7200 series routers.
12.1(5)EC
Support was added for Cisco uBR7100 series routers.
12.2(4)BC1
Support was added for the Cisco uBR10012 router. Changes were also made
to the boot procedure after breaking into ROMMON to ensure that all
hardware and software registers are in a known state before loading the new
image.