enable secret

Syntax

enable secret [ level securityLevel ] [ secretType ] secretText

no enable secret [ securityLevel ]

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Sets a secret to control access to certain types of commands. 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. The no version removes the secret requirement.

Note: On the E Series router, all secrets are stored as encrypted secrets.

Options

Mode

Global Configuration