Chapter 4 CLI Privilege Classification
Command
Function
ZXR10(config)#
username
<
username
>
password
<
password
>
privilege
<
level
>
This configures the user name,
password and privilege level of
a telnet login user
Note:
To delete the user, use
no username
<
username
> command.
Example
This example shows how to configure the privilege level to 12 of
a user named test.
ZXR10(config)#username test password test privilege 12
When the user telnets to log in to the switch, the prompt is shown
below.
Username:test
Password:
ZXR10#
Example
This example shows hot to change the privilege level to 1 of the
user.
ZXR10(config)#username test password test privilege 1
When the user telnets to log in to the switch, the prompt is shown
below.
Username:test
Password:
ZXR10>
Note:
When a user with privilege level 2~15 logs in to the switch, the
prompt is “#”. When a user with privilege level 1 logs in to the
switch, the prompt is “>”, indicating that user should input the
enabling password, as shown below.
Username:test
Password:
ZXR10#enable 12
//if no parameter is input after enable,
the default privilege level is 15
Password:
ZXR10#
Configuring an Enabling Password
Administrators can configure an enabling password for each privi-
lege level. When a user with lower privilege level wants to obtain
a higher privilege level, the user should input the enabling pass-
word.
Confidential and Proprietary Information of ZTE CORPORATION
39