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
Privilege Requirement
Only Admin level users have access to these commands.
User Guidelines
If the password you configured here is unencrypted and the global encryption
function is enabled in
configuration file will be displayed in the symmetric encrypted form.
Example
Configure the connection password of Console port connection 0 as "tplink" and
unencrypted:
T2600G-28TS(config)#line console 0
T2600G-28TS(config-line)#password 0 tplink
Configure the connection password of virtual terminal connection 0-5 as "tplink"
and unencrypted:
T2600G-28TS(config)#line vty 0 5
T2600G-28TS(config-line)#password 0 tplink
service
password-encryption, the password in the
82