![D-Link xStack DGS-3400 Series Cli Manual Download Page 14](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433014.webp)
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”.
D G S – 3 4 2 6 : 5 # c r e a t e a c c o u n t a d m i n d l i n k
C o m m a n d : c r e a t e a c c o u n t a d m i n d l i n k
E n t e r a c a s e - s e n s i t i v e n e w p a s s w o r d : * * * *
E n t e r t h e n e w p a s s w o r d a g a i n f o r c o n f i r m a t i o n : * * * *
S u c c e s s .
D G S – 3 4 2 6 : 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