Basic CLI commands
command-alias enable
Use command-alias enable to enable the command keyword alias function.
Use undo command-alias enable to disable the command keyword alias function.
Syntax
command-alias enable
undo command-alias enable
Default
The command keyword alias function is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
To make configured aliases take effect, enable the command keyword alias function.
To temporarily disable the aliases, disable the command keyword alias function. Disabling the command
keyword alias function does not delete the configured aliases.
Examples
# Enable the command keyword alias function.
<Sysname> system-view
[Sysname] command-alias enable
Related commands
command-alias mapping
•
display command-alias
•
command-alias mapping
Use command-alias mapping to configure a command keyword alias.
Use undo command-alias mapping to delete a command keyword alias.
Syntax
command-alias mapping cmdkey alias
undo command-alias mapping cmdkey
Default
A command keyword has no alias.
1