■ Use to set a password, which controls access to Privileged Exec mode and some
configuration modes.
■ Enter the password in plain text (unencrypted) or cipher text (encrypted). In
either case, the system stores the password as encrypted.
■ The first time you define a password, you must enter it in plain text. To view its
encrypted form, use the show config display. To redefine the password at a later
date, you can enter the password in its encrypted form.
■ You can use the following keywords:
■ 0 (zero)—Specifies an unencrypted password
■ 7—Specifies an encrypted password
■ Example 1 (unencrypted password)
host1(config)#enable password 0 mypassword
■ Example 2 (encrypted password)
host1(config)#enable password 7 x13_2
■ Use the no version to remove the password.
■ See enable password.
enable secret
■ Use to set a secret, which controls access to the Privileged Exec mode and some
configuration modes.
■ Enter the secret in plain text (its unencrypted form) or cipher text (its encrypted
form). In either case, the system stores the secret as encrypted.
■ The first time you define a secret, you must enter it in plain text. To view its
encrypted form, use the show config display. To redefine the secret at a later
date, you can enter the secret in its encrypted form.
■ You can use the following keywords:
■ 0 (zero)—Specifies an unencrypted secret
■ 5—Specifies an encrypted secret
■ Example 1 (unencrypted secret)
host1(config)#enable secret 0 yalta45
■ Example 2 (encrypted secret)
host1(config)#enable secret 5 y13_x
■ Use the no version to remove the secret.
■ See enable secret.
service password-encryption
420 ■ Setting Basic Password Parameters
JUNOSe 11.1.x System Basics Configuration Guide