CLI configuration commands
command-alias enable
Syntax
command-alias enable
undo command-alias enable
View
System view
Default level
2: System level
Description
Use command-alias enable to enable the command keyword alias function.
Use undo command-alias enable to disable the command keyword alias function.
By default, the command keyword alias function is disabled.
Disabling the command keyword alias function does not delete the configured aliases, but the aliases do
not take effect anymore.
Related commands: command-alias mapping.
Examples
# Enable the command keyword alias function.
<Sysname> system-view
[Sysname] command-alias enable
# Disable the command keyword alias function.
<Sysname> system-view
[Sysname] undo command-alias enable
command-alias mapping
Syntax
command-alias mapping cmdkey alias
undo command-alias mapping cmdkey
View
System view
Default level
2: System level
Parameters
cmdkey: Complete form of the first keyword of a non-undo command, or the second keyword of an undo
command.
1