DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
20
syntax remains plain text
7
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
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
Specifies the password string based on the type.
Default
By default, there is a predefined user whose name is
admin
, password is
admin
, and 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 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.
Example
This example shows how to create an administrative username, called
user
, and a password, called
“mypassword”.
Switch# configure terminal
Switch(config)# username user password mypassword
Switch(config)#
This example shows how to remove the user account with the username
user
.
Switch# configure terminal
Switch(config)# no username user
Switch(config)#