Cli Configurations; Configuring Command Aliases - 3Com 4500 PWR 26-Port Configuration Manual

Hide thumbs Also See for 4500 PWR 26-Port:
Table of Contents

Advertisement

Action
Press <PageUp>
Press <PageDown>

CLI Configurations

Configuring Command Aliases

You can replace the first keyword of a command supported by the device with your preferred keyword
by configuring the command alias function. For example, if you configure show as the replacement of
the display keyword for each display command, you can input the command alias show xx to execute
the display xx command.
Note the following when you configure command aliases:
When you type a command alias, the system displays and saves the command in its original format
instead of its alias. That is, you can define and use a command alias but the command is not saved
and restored in its alias.
When you define a command alias, the cmdkey and alias arguments must be in complete form.
With the command alias function enabled, when you type an incomplete keyword, which partially
matches both a defined alias and the keyword of a command, the alias wins; to execute the
command whose keyword partially matches your input, you must type the complete keyword.
When you input a character string that matches multiple aliases partially, the system prompts you
for various matching information.
If you press Tab after you type the keyword of an alias, the original format of the keyword is
displayed.
You can replace only the first keyword of a non-undo command instead of the complete command;
and you can replace only the second keyword of an undo command.
Follow these steps to configure command aliases:
To do...
Enter system view
Enable the command alias
function
Configure command
aliases
To display the configured command aliases, use the display command-alias command.
Displays the previous page.
Displays the next page.
Use the command...
system-view
command-alias enable
command-alias mapping cmdkey alias
1-16
Function
Remarks
Required
Disabled by default, that
is, you cannot configure
command aliases.
Required
Not configured by default.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port

Table of Contents