EasyManua.ls Logo

HP PROCURVE 6120

HP PROCURVE 6120
589 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-16
Using the Command Line Interface (CLI)
CLI Control and Editing
CLI Control and Editing
Executing a Prior Command—Redo
The redo command executes a prior command in the history list.
Figure 4-10. Example of the redo Command
Repeating Execution of a Command
The repeat command executes a previous command in the history list.
Syntax: redo [number | command-str]
Re-executes a command from history. Executes the last
command by default.
number: The position of the command to execute in the history
list. When number is specified, the n
th
command starting from
the most recent command in the history is executed.
command-str: When command-str is specified, the most recent
command whose name matches the specified string is
executed.
ProCurve(config)# show history
2 show arp
1 show flash
ProCurve(config)# redo 2
IP ARP table
IP Address MAC Address Type Port
--------------- ----------------- ------- ----
15.255.128.1 00000c-07ac00 dynamic A11
Executes the show arp command again.

Table of Contents

Related product manuals