R211x-HP Flexfabric 11900 Fundamentals Command Reference
2
Default
A command keyword has no alias.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
cmdkey: Specifies the first keyword of a non-undo command or the second keyword of an undo
command. You must enter the keyword in its complete form.
alias: Specifies an alias for the keyword, a string of 1 to 20 characters. It must be different from the first
keyword of any non-undo command and the second keyword of any undo command.
Usage guidelines
You can configure an alias for the first keyword of a non-undo command or the second keyword of an
undo command. Then, when you execute a command that starts with the keyword or the undo keyword
plus the keyword, you can use the alias. For example, if you configure show as the alias for the display
keyword, you can enter show clock to execute the display clock command.
To use configured command keyword aliases, make sure the command-alias enable command is
configured.
Examples
# Define show as the alias of the display keyword.
<Sysname> system-view
[Sysname] command-alias mapping display show
Related commands
• command-alias enable
• display command-alias
display | { begin | exclude | include }
Use display | { begin | exclude | include } to filter the output from a display command with a regular
expression.
Syntax
display command | { begin | exclude | include } regular-expression
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator










