CLI Reference Guide Basic Configuration Management
Set the security password
enable secret
To configure the security password for different privilege level, execute the global configuration
command enable secret. The no form of this command is used to delete the password of the
specified level.
enable secret [ level level ] {secret | [ 0 |5 ] encrypted-secret }
no enable secret [ level level ]
Password for user to enter into the EXEC configuration layer
Password encryption type, "0" for no encryption, "5" for security
encryption
Global configuration mode.
The password falls into "password" and "security" passwords. The "password" is simple
encryption password, which can be set only for level 15. The "security" means the security
encryption password, which can be set for level 0 ~ 15. If the two kinds of passwords exist in the
system at the same time, the "password" type password will not take effect. If a "password" type
password is set for a level other than 15, an alert is provided and the password is automatically
converted into the "security" password. If "password" type password is set for level 15 and the
same as the "security" password, an alert is provided. The password must be saved in
encrypted manner, with simple encryption for the "password" type password and security
encryption for the "security" type password.
The example below configures the security password as pw10:
Ruijie(config)# enable secret 0 pw10
Set passwords for different privilege levels.