Command Reference Basic Management Commands
Description
username
To set a local username, run the username command in global configuration mode.
username name {nopassword | password { password | [0|7]
encrypted-password }} username name privilege privilege-level
no username name
Parameter Description
name
Username
password
User password
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.
encrypted-password
Password text
Parameter
Description
privilege-level
User bound privilege level
Defaults
None
Command
Mode
Global configuration mode
Usage Guide
This command is used to establish a local user database for authentication.
If encryption type is 7, the cipher text you enter should contain seven characters to be
valid.
In general, do not set the entryption type 7.
Instead, specify the type of encryption as 7 only when the encrypted password is copied
and pasted.
Configuration
Examples
The following example configures a username and password and bind the user to level 15.
Ruijie(config)# username test privilege 15 password 0 pw15
Command Description Related
Commands
login local
Enables local authentication
Platform
Description
None