2-185
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands repeat
repeatTo repeat a command, use the repeat command.
repeat [num | string]
Syntax Description
Defaults If no argument is specified, the last command is repeated.
Command Types ROM monitor command.
Command Modes Normal.
Usage Guidelines The optional command number (from the history buffer list) or match string specifies which command
to repeat.
In the match string, the most recent command to begin with the specified string is executed again.
If the string contains white space, you must use quotation marks.
This command is usually aliased to the letter “r.”
Examples These examples show how to use the repeat command. You use the history command to display the list
of previously entered commands:
rommon 22 > history
8 dir
9 dir bootflash:
10 dis
11 dis 0xa0001000
12 dis 0xbe000000
13 history
14 meminfo
15 meminfo -l
16 meminfo
17 meminfo -l
18 meninfo
19 meminfo
20 meminfo -l
21 meminfo -l
22 history
number (Optional) Number of the command.
string (Optional) Command string.