xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
48
config account
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.
Example usage:
To configure the user password of the “alpha” account:
DGS-3450:admin# config account alpha
Command: config account alpha
Enter an old password:****
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS-3450:admin#
show account
Purpose
This command is used to display the user accounts that have been created on the Switch.
Syntax
show account
Description
The show account command displays the user accounts that have been created on the
Switch.
Parameters
None
Restrictions
Only Administrator can issue this command.
Example usage:
To display the user accounts that have been created on the Switch: