xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
49
DGS-3450:admin# disable password encryption
Command: disable password encryption
DGS-3450:admin#
create account
Purpose
This command is used to create user accounts.
Syntax
create account [admin | operator | user] <username 15>
Description
The create account command is used to create user accounts. A username can be between
1 and 15 characters. The password is between 0 and 15 characters and is case sensitive.
The total number of accounts supported by the Switch (including admin and user level
accounts) is 8.
Parameters
admin
- Specify an administrator level account. The administrator is the highest privilege level
in the Switch.
operator
- Specify an operator level account.
user
- Specify a user level account.
<username 15>
- The user name, which must be a minimum of 1 character and a maximum
of 15 characters.
Restrictions
Only Administrator can issue this command.
Example usage:
To create the admin-level user “alpha”:
DGS-3450:admin# create account admin alpha
Command: create account admin alpha
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS-3450:admin#
config account
Purpose
This command is used to configure user accounts.
Syntax
config account <username> {encrypt [plain_text | sha_1] <password>}
Description
When the password information is not specified in the command, the system will prompt the
user to input the password interactively. In this case, the user can only input a plain text
password.
If the user specifies a password in the command, the user can select to input the password in
plain text form or in encrypted form. The encryption algorithm is based on SHA-1.
Parameters
<username>
- Specify the name of the account. The account must already be defined.
plain_text
- Specify the password in plain text form.
sha_1
- Specify the password in SHA-1 encrypted form.
password
- The password for the user account. The length of a password in plain-text form
and encrypted form are different. For a plain-text form password, the password must be a
minimum of 0 characters and a maximum of 15 characters. For an encrypted form password,
the length is fixed to 35 bytes long. The password is case-sensitive.
Restrictions
Only Administrator can issue this command.