EasyManuals Logo

H3C S3100 Series Command Manual

H3C S3100 Series
1244 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
Page #934 background imageLoading...
Page #934 background image
1-10
View
System view
Default Level
2: System level
Parameters
cmdkey: The complete form of the first keyword of an existing non-undo command or the second
keyword of an undo command for which an alias will be configured.
alias: Specifies the command alias, which can be neither the same with the first keyword nor with the
starting part of an existing command on the switch.
Description
Use the command-alias mapping command to configure command aliases.
Use the undo command-alias mapping command to delete command aliases.
By default, a command has no alias.
z When configuring a command alias, the cmdkey argument must be a complete keyword; otherwise,
the system prompts for incomplete keyword or nonexistent keyword, and the operation will fail.
z At present, the device supports up to 20 command aliases. In addition, different commands must
be configured with different aliases.
Examples
# Enable the command alias function on the switch and configure command aliases by specifying show
as the replacement of the display keyword.
<Switch> system-view
[Switch] command-alias enable
[Switch] command-alias mapping display show
After the above configuration, the display commands have their aliases, and their original forms are still
effective. For example, if the original command is display clock, now its alias is show clock and you
can input either the alias or the original form display clock to view the system time and date.
display command-alias
Syntax
display command-alias
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display command-alias command to display defined command aliases and the corresponding
commands.

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals