DGS-6604
username
CLI Reference Guide
916
username
Use the
username
command to create a user account, and use the no form of
the command to delete the user account. For the no command, when a
username is specified, a specific account is deleted.
username
NAME
[privilege
LEVEL
] password {plain-text| encrypted}
PASSWORD
no username
NAME
Default
Not configured
privilege
LEVEL
: 15
Command Mode
Global configuration at privilege level 15
Usage Guideline
This command creates user accounts with different access levels.
The command only accepts
LEVEL
1, 2, 12, & 15. If the user specifies any other
level, an error message will be displayed.
When the user logs in with level 1 and 2, the user will in the User EXEC mode.
The user needs to further use the enable command to enter the Privileged EXEC
mode. However, in level 1 User EXEC mode it is not allowed to directly enter the
Privileged EXEC mode.
When the user logs in with a level higher than or equal to 12, the user will directly
enter the Privileged EXEC mode. The Privileged EXEC mode can be either level
12 or 15.
The user can specify the password in
encrypted
form or in
plain-text
form. If it is
in
plain-text
form, but password encryption is enabled, then the password will be
converted to encrypted form.
Syntax Description
NAME
Specifies the Username. Only one word can be used for the name argument.
The length is 1 to 32 characters.
privilege
LEVEL
(Optional) Sets the privilege level for the user. The privilege level is between 0
and 15. The default value is 15 if it is not specified
plain-text
PASSWORD
Specifies the password the user must enter to gain access to the switch. The
password must be from 6 to 32 characters (the length of password in plain-text
form is project dependant), can contain embedded spaces and is case-sensitive.
The syntax is a general string that allows spaces.
encrypted
PASSWORD
Specifies the password in the encrypted form based on SHA-I. For the encrypted
form password, the length is fixed to 35 bytes long. The password is case-
sensitive.
When using the
show username
or the
show enable password
command, an
encrypted password can be copied and pasted to this command option.