R3166-R3206-HP High-End Firewalls Getting Started Command Reference-6PW101
33
Use the undo user privilege level command to restore the default.
By default, the default command level is 3 for the console user interface and 0 for other user interfaces.
Examples
# Set the command level for users logging in through VTY 0 to 0.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] user privilege level 0
After you telnet to the device through VTY 0, the terminal only displays commands of 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
2: System level
Parameters
first-num1: Absolute number of the first user interface. It typically starts from 0.
last-num1: Absolute number of the last user interface. It typically starts from 0, and cannot be smaller
than the first-num1.
first-num2: Relative number of the first user interface.
last-num2: Relative number of the last user interface.
Description
Use the user-interface command to enter a single or multiple user interface views.
In a single user interface view, the configuration takes effect in the user view only.
In multiple user interface views, the configuration takes effect in these user views.
Examples
# Enter the console user interface view.
<Sysname> system-view