Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
83
Default
By default, no username-based authentication system is established.
If not specified, use 1.
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.
Example
This example shows how to create an administrative username, called admin, and a password, called
mypassword”.
Switch# configure terminal
Switch(config)# username admin privilege 15 password 0 mypassword
Switch(config)#
This example shows how to remove the user account with the username admin.
Switch# configure terminal
Switch(config)# no username admin
Switch(config)#
5-22 password
This command is used to create a new password. Use the no form of the command to remove the
password.
password [0 | 7 ] PASSWORD
no password
Parameters
0
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