
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
24
Example
Enable the global encryption function:
T2700G-28TQ(config)# service password-encryption
enable password
Description
The
enable password
command is used to set or change the password for
users to access Privileged EXEC Mode from User EXEC Mode. To remove the
password, please use
no enable password
command. This command uses the
symmetric encryption.
Syntax
enable password
{ [ 0 ]
password
| 7
encrypted-password
}
no enable password
Parameter
0 —— Specify the encryption type. 0 indicates that an unencrypted password
will follow. By default, the encryption type is 0.
password
—— Super 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 access Privileged EXEC Mode from User EXEC Mode..
Command Mode
Global Configuration Mode
User Guidelines
1. 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.
2. If both the enable password and enable secret password are defined, only
the latest configured password will take effect.