enable privilege-mode password

Enables a password for the Privileged mode
Syntax
enable privilege-mode password password
no enable privilege-mode password password
Command Default

Password for the Privileged EXEC mode of the CLI is not configured.

Parameters
password
Alphanumeric password string.
Modes

Global configuration mode

Usage Guidelines

Log in to the device using the console or SSH to access Privileged mode. You will be prompted to enter the already configured Privileged mode password. The same password is required to log in to the device even after a reload.

If you want to mask the passsword, use the enable user password-masking command before configuring the privileged mode password. The entered password will be masked and not displayed in clear text.

When aaa authentication enable default command is used to configure the default authentication method list, or when aaa authentication login privilege-mode command is set up on the device to enter the privileged EXEC mode after a successful login through SSH, these methods will take priority over the enable privilege-mode password command .

The no form of the command removes the configured password.

Examples

The following example shows how to configure a password for Privilege mode.

device(config)# enable privilege-mode password Testing@123
History
Release version Command history
10.0.10g_cd1 This command was introduced.