![D-Link DGS-510 Reference Manual Download Page 84](http://html.mh-extra.com/html/d-link/dgs-510/dgs-510_reference-manual_78049084.webp)
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
81
5-23
username
This command is used to create a user account. Use the
no
form of this command to delete the user
account.
username NAME [privilege LEVEL] [nopassword | password [0 | 7 | 15] PASSWORD]
no username [NAME]
Parameters
NAME
Specifies the user name with a maximum of 32 characters.
privilege LEVEL
(Optional) Specifies the privilege level for each user. The privilege
level must be between 1 and 15.
nopassword
(Optional) Specifies that there will be no password associated with
this account.
password
(Optional) Specifies the password for the user.
0
(Optional) Specifies the password in clear, plain text. The password
length is between 1 and 32 characters and can contain embedded
spaces. It is case-sensitive. If the password syntax cannot be
specified, the syntax remains plain text.
7
(Optional) Specifies the encrypted password based on SHA-1. The
password length is fixed at 35 bytes. It is case-sensitive. The
password is encrypted. If the password syntax is not specified, the
syntax is plain text.
15
(Optional) Specifies the encrypted password based on MD5. The
password length is fixed at 31 bytes. It is case-sensitive. The
password is encrypted. If the password syntax is not specified, the
syntax is plain text.
PASSWORD
(Optional) Specifies the password string based on the type.
Default
By default, the user name is
admin
, password is
admin
, and the privilege level is 15.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
This command creates user accounts with different access levels. When the user login with Level 1,
the user will be in the User EXEC Mode. The user needs to further use the
enable
command to enter
the Privileged EXEC Mode.
When the user login with a Level higher than or equal to 2, the user will directly enter the Privileged
EXEC Mode. Therefore, the Privileged EXEC Mode can be in Levels 2 to 15.
The user can specify the password in the encrypted form or in the plain-text form. If it is in the plain-
text form, but the service password encryption option is enabled, the password will be converted to
the encrypted form.
If the
no username
command is used without the user name specified, all users are removed.
By default, the user account is empty. When the user account is empty, the user will be directly in the
User EXEC Mode at Level 1. The user can further enter the Privileged EXEC Mode using the
enable
command.
Summary of Contents for DGS-510
Page 1: ...1 ...
Page 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Page 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Page 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Page 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...