xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
10
config account
Purpose
Used to configure user accounts.
Syntax
config account <username> {encrypt [plain_text| sha_1] <password>}
Description
The
config account
command configures a user account that has been created using the
create account
command.
Parameters
<username>
–
Enter a name between
1
and
15
alphanumeric characters to define the
administrator account to configure here.
encrypt
- Specifies that the account uses encryption.
plain_text
- Specifies that the account uses the plain text encryption.
sha_1
- Specifies that the account uses the SHA-1 encryption.
<password>
- Enter the password here.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the user password of “dlink” account:
DGS-3450: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-3450:admin#
show account
Purpose
Used to display user accounts
Syntax
show account
Description
Displays all user accounts created on the Switch. Up to eight user accounts can exist at one
time.
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To display the accounts that have been created:
DGS-3450:admin# show account
Command: show account
Current Accounts:
Username Access Level
--------------- ------------
dlink Admin
DGS-3450:admin#