Command Reference Basic Management Commands
Parameter Description
password
Password for the user to enter the EXEC configuration layer
level
User's level.
0|7
Password encryption type, "0" for no encryption, "7" for simple encryption
(Optional) Ruijie’s private algorithm will be used for password encryption.
If the password type is 0, the password is in plain text. If the type is 7, the
password is encrypted by a Ruijie device.
Parameter
Description
encrypted-password
Password text.
Defaults
None
Command
Mode
Global configuration mode
Usage Guide
No encryption is required in general. The encryption type must be specified for copying and pasting a
encrypted password for the device.
A valid password is defined as follows:
Consists of 1-26 upper/lower case letters and numbers
Leading spaces are allowed but usually ignored. Spaces in between or at the end are regarded
as part of the password.
If an encryption type is specified and a plaintext password is entered, you cannot enter
privileged EXEC mode. A lost password that has been encrypted using any method
cannot be restored. In this case, you can only reconfigure the device password.
Configuration
Examples
The following example configures the password as pw10:
Ruijie(config)# enable password pw10
Command Description Related
Commands
enable secret
Sets the security password
Platform
Description
None
enable secret
To configure a security password for different privilege levels, run the global configuration command
enable secret. The no form of this command is used to delete the password of a specified level.
enable secret [level level] {secret | [0|5] encrypted-secret}
no enable secret [level level]