CLI Reference Guide
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:
TL-SG3424(config)#line console 0
TL-SG3424(config-line)#password 0 tplink
Configure the connection password of virtual terminal connection 0-5 as “tplink”
and unencrypted:
TL-SG3424(config)#line vty 0 5
TL-SG3424(config-line)#password 0 tplink
login
Description
The lo gin command is used to configure the login of a switch without using the
default user name and password. At this situation, a connection password must
be set for virtual terminal connection.
Syntax
login
Command Mode
Line Configuration Mode
Example
Configure the login of Console port connection 0 as login mode:
TL-SG3424(config)# line console 0
58