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
IP Routing : Disabled
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 6120G/XG
Страница 1: ...ProCurve Series 6120 Switches Management and Configuration Guide November 2010 Version Z 14 22 ...
Страница 2: ......
Страница 3: ...HP ProCurve 6120G XG Switch 6120XG Switch November 2010 Z 14 22 Management and Configuration Guide ...
Страница 24: ...xxii ...
Страница 40: ...Getting Started To Set Up and Install the Switch in Your Network 1 10 ...
Страница 54: ...Selecting a Management Interface Advantages of Using ProCurve Manager or ProCurve Manager Plus 2 14 ...
Страница 70: ...Using the Menu Interface Where To Go From Here 3 16 ...
Страница 92: ...Using the ProCurve Web Browser Interface Contents Setting Fault Detection Policy 5 25 5 2 ...
Страница 160: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 44 ...
Страница 288: ...Port Status and Configuration Uplink Failure Detection 10 42 ...
Страница 318: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 11 30 ...
Страница 470: ...File Transfers Copying Diagnostic Data to a Remote Host USB Device PC or UNIX Workstation A 34 ...
Страница 487: ...Monitoring and Analyzing Switch Operation Status and Counters Data B 17 ...
Страница 518: ...Monitoring and Analyzing Switch Operation Traffic Mirroring B 48 ...
Страница 612: ...MAC Address Management Viewing the MAC Addresses of Connected Devices D 8 ...
Страница 616: ...Monitoring Resources When Insufficient Resources Are Available E 4 ...
Страница 620: ...Daylight Savings Time on ProCurve Switches F 4 ...
Страница 638: ...Network Out of Band Management OOBM Tasks G 18 ...
Страница 659: ...download to primary or secondary flash A 21 using to download switch software A 19 Index 19 ...
Страница 660: ...20 Index ...
Страница 661: ......