Using the Command Line Interface (CLI)
CLI Control and Editing
Using a Command Alias
You can create a simple command alias to use in place of a command name
and its options. Choose an alias name that is
not
an existing CLI command
already. Existing CLI commands are searched before looking for an alias
command; an alias that is identical to an existing command will not be
executed.
The
alias
command is executed from the current configuration context (oper
ator, manager, or global). If the command that is aliased has to be executed in
the global configuration context, you must execute the alias for that command
in the global configuration context as well. This prevents bypassing the
security in place for a particular context.
ProCurve recommends that you configure no more than 128 aliases.
Syntax:
[no] alias <
name
>
<
command
>
Creates a shortcut alias name to use in place of a commonly
used command. The
alias
command is executed from the
current config context.
name:
Specifies the new command name to use to simplify
keystrokes and aid memory.
command:
Specifies an existing command to be aliased. The
command must be enclosed in quotes.
Use the
no
form of the command to remove the alias.
For example, if you use the
show interface custom
command to specify the
output, you can configure an alias for the command to simplify execution. It
is recommended that you use an alias that does not have an existing tab
completion in the CLI. For example, using an alias that starts with “show” or
“int” would complete to “show” and “interface” respectively when you use the
tab completion function.
4-18
Содержание 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: ......