Introduction – H3C Technologies H3C SecPath F1000-E User Manual
Page 205
11
•
With the command alias function enabled, when you input an incomplete keyword, which partially
matches both a defined alias and the keyword of a command, the alias wins; to execute the
command whose keyword partially matches your input, input the complete keyword. When you
input a character string that partially matches multiple aliases, the system prompts you for various
matched information.
•
If you press Tab after you input the keyword of an alias, the original format of the keyword is
displayed.
•
You can replace only the first keyword of a non-undo command instead of the complete command;
and you can replace only the second keyword of undo commands.
Follow these steps to configure command aliases:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the command alias function command-alias enable
Required
Disabled by default, which means
you cannot configure command
aliases.
Configure command aliases
command-alias mapping
cmdkey alias
Required
Not configured by default.
Configuring User Privilege Levels and Command
Levels
Introduction
To restrict different users’ access to the device, the system manages the users by their privilege levels. User
privilege levels correspond to command levels. After users at different privilege levels log in, they can
only use commands at their own, or lower, levels. All the commands are categorized into four levels,
which are visit, monitor, system, and manage from low to high, and identified respectively by 0 through
describes the levels of the commands.
Table 3 Default command levels
Level Privilege Description
0 Visit
Involves commands for network diagnosis and accessing an
external device. Commands at this level are not allowed to be
saved after being configured. After the device is restarted, the
commands at this level will be restored to the default settings.
Commands at this level include ping, tracert, telnet and
ssh2.
1 Monitor
Involves commands for system maintenance and service fault
diagnosis. Commands at this level are not allowed to be saved
after being configured. After the device is restarted, the
commands at this level will be restored to the default settings.
Commands at this level include debugging, terminal,
refresh, reset, and send.