D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
536
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 enacrpted 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 assword is case-sensitive.
Restrictions Only Administrator can issue this command.
Example usage:
To configure the user password of “dlink” account:
DGS-3627:admin# config account dlink
Command: config account dlink
Enter a old password:****
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS-3627:admin#
To configure the user password of “dlink” account:
DGS-3627:admin# config account adminstrator
Command: config account administrator encrypt sha_1 *@&cRDtpNCeBiq15KOQsKVyrA0sAiCIZQwq
Success.
DGS-3627:admin#
show account
Purpose Used to display user accounts.
Syntax
show account
Description The show account command displays user accounts that have been created.
Parameters None.
Restrictions Only Administrator can issue this command.
Example usage:
To display the accounts that have been created: