R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101
87
Default level
2: System level
Parameters
cmdkey: The complete form of the first keyword of a command.
alias: Specifies the command alias, which cannot be the same as the first keyword of an existing
command.
Description
Use command-alias mapping to configure command aliases.
Use undo command-alias mapping to delete command aliases.
By default, a command has no alias.
Examples
# Configure command aliases by specifying show as the replacement of the display keyword.
<Sysname> system-view
[Sysname] command-alias mapping display show
After configuring the command aliases, the display commands have their aliases. For example, if the
original command is display clock, now its alias is show clock and you can enter the alias to view the
system time and date.
# Delete the command aliases by canceling the replacement of the display keyword.
<Sysname> system-view
[Sysname] undo command-alias mapping display
command-privilege
Syntax
command-privilege level level view view command
undo command-privilege view view command
View
System view
Default level
3: Manage level
Parameters
level level: Command level, which ranges from 0 to 3.
view view: Specifies a view.
command: Command to be set in the specified view.
Description
Use command-privilege to assign a level for the specified command in the specified view.
Use undo command-privilege view to restore the default.
By default, each command in a view has a specified level. For more information, see Getting Started
Guide.