secret

Syntax

secret [ encryptionType ] secretText

no secret

Release Information

Command introduced before JUNOSe Release 7.1.0.

Description

Adds a secret to a user entry in the local user database. The new secret replaces an existing secret or password. The no version deletes the secret (or password) from the user entry in the local user database.

Options

  • encryptionType—one of the following:
    • 0—Unencrypted secret (the default)
    • 5—MD5-encrypted secret
  • secretText—Character string that specifies the secret. The string can contain any alphanumeric character, including spaces, up to 64 characters. Secrets are case sensitive.

Local User Configuration