Using the Command Line Interface (CLI)
CLI Control and Editing
Syntax:
repeat [cmdlist] [count] [delay]
Repeats execution of a previous command. Repeats the last
command by default until a key is pressed.
cmdlist:
If a number or range of numbers is specified, the
command repeats the n
th
most recent commands (where “n”
is the position in the history list).
count:
Repeats the command for the number of times specified.
delay:
The command repeats execution after a delay for the
number of seconds specified.
For example:
ProCurve(config)# repeat 1-4,7-8,10 count 2 delay 3
ProCurve(config)# show history
3
show ver
2
show ip
1
show arp
ProCurve(config)# repeat 1-2
Repeats the
show arp
and
show ip
commands.
IP ARP table
IP Address MAC Address Type
Port
--------------- ----------------- ------- ----
15.255.128.1 000000-000000
dynamic
Internet (IP) Service
Default Gateway :
Default TTL
Arp Age
Domain Suffix
DNS server
: 64
: 20
:
:
VLAN
| IP Config IP Address Subnet Mask Proxy ARP
-------------------- + ---------- --------------- --------------- ---------
DEFAULT_VLAN
| DHCP/Bootp 15.255.131.90 255.255.248.0 No No
Figure 4-11. Example of repeat Command Using a Range
4-17
Содержание PROCURVE 2520
Страница 2: ......
Страница 3: ...HP ProCurve 2520 Switches November 2009 S 14 03 Management and Configuration Guide ...
Страница 60: ...Using the Menu Interface Where To Go From Here 3 16 ...
Страница 82: ...Using the Command Line Interface CLI CLI Editing Shortcuts 4 22 ...
Страница 104: ...Using the ProCurve Web Browser Interface Status Reporting Features Figure 5 14 Example of Alert Log Detail View 5 22 ...
Страница 146: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 40 ...
Страница 164: ...Interface Access and System Information System Information 7 18 ...
Страница 184: ...Configuring IP Addressing IP Preserve Retaining VLAN 1 IP Addressing Across Configuration File Downloads 8 20 ...
Страница 292: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 12 30 ...
Страница 374: ...Configuring for Network Management Applications LLDP Link Layer Discovery Protocol 13 82 ...
Страница 434: ...Monitoring and Analyzing Switch Operation Locating a Device B 30 ...
Страница 514: ...Troubleshooting DNS Resolver C 80 ...
Страница 524: ...Daylight Savings Time on ProCurve Switches E 4 ...
Страница 525: ...F Power Saving Features Contents Configuring Power Saving for LEDs F 2 Show Savepower Status F 2 F 1 ...
Страница 542: ...16 Index ...
Страница 543: ......