D-Link DGS-510 Reference Manual page 85

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Example
This example shows how to create an administrative username, called admin, and a password, called
"mypassword".
Switch# configure terminal
Switch(config)# username admin privilege 15 password 0 mypassword
Switch(config)#
This example shows how to remove the user account with the username admin.
Switch# configure terminal
Switch(config)# no username admin
Switch(config)#
5-24
password
This command is used to create a new password. Use the no form of this command remove the
password.
password [0 | 7 | 15] PASSWORD
no password
Parameters
0
7
15
PASSWORD
Default
None.
Command Mode
Line Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
This command is used to create a new user password. Only one password can be used for each type
of line.
Example
This example shows how to create a password for the console line.
Specifies the password in clear, plain text. The password length is
between 1 and 32 characters and can contain embedded spaces. It
is case-sensitive. If the password syntax cannot be specified, the
syntax remains plain text.
Specifies the encrypted password based on SHA-1. The password
length is fixed at 35 bytes. It is case-sensitive. The password is
encrypted. If the password syntax is not specified, the syntax is
plain text.
Specifies the encrypted password based on MD5. The password
length is fixed at 31 bytes. It is case-sensitive. The password is
encrypted. If the password syntax is not specified, the syntax is
plain text.
Specifies the password for the user.
82

Advertisement

Table of Contents
loading

Table of Contents