Configuration Guide Password-Policy Commands
1.7 service password-encryption
Use this command to encrypt a password. Use the no form of this command to restore default setting.
service password-encryption
This function is disabled by default.
Global configuration mode
This command is disabled by default. Various passwords are displayed in plain text, unless they are
encrypted. After you run the service password-encryption and show running or write command to
save your configuration, the password changes into cipher text. If you disable the command, the
password in cipher text cannot be restored to plain text.
The following example encrypts the password:
Ruijie(config)# service password-encryption
Sets passwords of different privileges.
Use this command to display the password security policy set by the user.