2. Enter Configuration mode
Enter configuration mode by using configure command.
Entering configuration mode
3. Set the root authentication password by entering a clear text password.
root@#set system root-authentication plain-text-password
you are prompted to enter and confirm the password
New password: type password here
Retype new password: retype password here
The default requirements for plain-text passwords are:
The password must be between 6 and 128 characters long.
You can include most character classes in a password (uppercase letters, lowercase letters, numbers, punctuation marks, and other special characters). Control characters are not recommended.
Valid passwords must contain at least one change of case or character class.
Retype new password: rootpass