T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
83
Syntax
password
{ [ 0 ]
password
| 7
encrypted-password
}
no password
Parameter
0 —— Specify the encryption type. 0 indicates that an unencrypted password
will follow. By default, the encryption type is 0.
password
—— Connection password, a string from 1 to 31 alphanumeric
characters or symbols. The password is case sensitive, allows spaces but
ignores leading spaces, and cannot contain question marks. By default, it is
empty.
7 —— Indicates a symmetric encrypted password with fixed length will follow.
encrypted-password
—— A symmetric encrypted password with fixed length,
which you can copy from another switch’s configuration file. After the encrypted
password is configured, you should use the corresponding unencrypted
password if you re-enter this mode.
Command Mode
Line Configuration Mode
User Guidelines
If the password you configured here is unencrypted and the global encryption
function is enabled in
service password-encryption
, the password in the
configuration file will be displayed in the symmetric encrypted form.
Example
Configure the connection password of Console port connection 0 as “tplink” and
unencrypted:
T2700G-28TQ(config)#line console
0
T2700G-28TQ(config-line)#password
0 tplink
Configure the connection password of virtual terminal connection 0-5 as “tplink”
and unencrypted:
T2700G-28TQ(config)#line vty
0 5
T2700G-28TQ(config-line)#password
0 tplink