
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
Each command is listed, in detail, in the following sections.
create account
Purpose Used to create user accounts.
Syntax
create account [admin | operator | user] <username 15>
Description This command is used to create user accounts that consist of a case sensitive username
of 1 to 15 characters and a case sensitive password of 0 to 15 characters. Up to 8 user
accounts can be created.
Parameters [admin | operator | user] <username 15>
Restrictions Only Administrator-level users can issue this command.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
Example usage:
To create an administrator-level user account with the username “dlink”.
DGS–3426:5#create account admin dlink
Command: create account admin dlink
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS–3426:5#
NOTICE: In case of lost passwords or password corruption, please refer to the
Appendix B at the end of this manual, which will guide you through the steps
necessary to resolve this issue.
config account
Purpose 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. For this case, the user can only input the
plain text password.
If the password is present in the command, the user can select to input the password in
the plain text form or in the encrypted form. The encryption algorithm is based on SHA-I.
Parameters
<username> − Name of the account. The account must already be defined.
plain_text − Select to specify the password in plain text form.
sha_1 − Select to specify the password in the SHA-I encrypted form.
password − The password for the user account.
The length for of password in plain-text form and in encrypted form are different. For the
plain-text form, passwords must have a minimum of 0 character and can have a
maximum of 15 characters. For the encrypted form password, the length is fixed to 35
bytes long. The password is case-sensitive.
Restrictions Only Administrator level users can issue this command.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
Example usage:
10