CLI Reference Guide Basic Configuration Management
enable password
To configure the password for different privilege level, execute the global configuration command
enable password. The no form of this command is used to delete the password of the specified
level.
enable password [ level level ] { password | [ 0|7 ] encrypted-password }
no enable password [ level level ]
Password for user to enter into the EXEC configuration layer
Password encryption type, "0" for no encryption, "7" for
simple encryption
Global configuration mode.
No encryption is required in general. The encryption type is required generally when the
password that has been encrypted with the command for the device are to be copies and
pasted.
The effective password is defined as below:
Consists of 1 ~ 26 letter in upper/lower case and numerals
Leading spaces are allowed but ignored. Spaces in between or at the end are regarded as part
of the password.
If an encryption type is specified and then a plaintext password is entered, it is
impossible to enter into the privileged EXEC mode. A lost password that has been
encrypted with any method cannot be restored. The only way is to reconfigure the
device password.
The example below configures the password as pw10:
Ruijie(config)# enable password pw10
Set the security password