AAA Configuration Commands 367
View
Local User View
Parameter
level
: Specifies user priority level, an integer ranging from 0 to 3.
Description
Use the level command to configure user priority level. Use the undo level
command to restore the default user priority level.
By default, the user priority level is 0.
Related command: local-user
If the configured authentication mode is none authentication or password
authentication, the command level that a user can access after login depends on
the priority of user interface. In the case of authentication requiring both
username and password, however, the accessible command level depends on user
priority level.
Example
To set the priority level of the user 3Com to 3, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]local-user 3Com1
[SW5500-luser-3Com1]level 3
local-user Syntax
local-user user-name
undo local-user { user-name | all [ service-type { telnet | ftp |
lan-access | ssh | terminal } ] }
View
System View
Parameter
user-name
: Specifies a local username with a character string not exceeding 80
characters, excluding “/”, “:”, “*”, “?”, “<” and “>”. The @ character can only
be used once in one username. The pure username (the part before @, namely the
user ID) cannot exceed 55 characters. The
user-name
parameter is not case
sensitive.
service-type: Specifies the service type.
telnet: The specified user type is telnet.
ftp: The specified user type is ftp.
lan-access: The specified user type is lan-access which mainly refers to Ethernet
accessing users, 802.1x supplicants for example.