99
NOTE:
Command level is divided into four levels of visit, monitor, system, and manage, corresponding
to the number 0, 1, 2 and 3 respectively. The administrator can change the command level of a
user when necessary.
Description
Use the
user
privilege level
command to configure the command level that the login
users on the current user interface can access.
Use the
undo user privilege level
command to restore the default.
By default, the default command level is 3 for the AUX and console user interfaces and
0 for VTY user interfaces.
Examples
Set the privilege level of the user logging in from VTY 0 to 0.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] user privilege level 0
After you telnet the device from VTY 0, you can see that the terminal only displays
commands of privilege level 0 in the help information:
<Sysname> ?
User view commands:
cluster Run cluster command
display Display current system information
ping Ping function
quit Exit from current command view
rsh Establish one RSH connection
ssh2 Establish a secure shell client connection
super Set the current user priority level
telnet Establish one TELNET connection
tracert Trace route function
user-interface
Syntax
user-interface
{
first-num1
[
last-num1
] | {
aux
|
console
|
vty
}
first-num2
[
last-num2
] }
View
System view
Default Level