The Enable Password [Password] Cisco command
Command: enable password [password]
Function: Configures or modifies the enable password for privileged EXEC mode access.
Syntax:
enable password [password]
Parameters:
- enable password: Specifies the new enable password. The password must be from 1 to 25 alphanumeric characters.
Usage:
The enable password [password] command is used to configure or modify the enable password on a Cisco device. The enable password is a password that is required in order to access privileged EXEC mode. Once you enter the enable password, you will be prompted to enter the enable secret password. The enable secret password is a hidden password that is not displayed in clear text.
Default:
The default enable password is "cisco".
Command Modes:
- Configuration
Applicable Devices:
- All Cisco devices
Additional Information:
- The enable password is case-sensitive.
- The enable password is stored in the configuration file.
- You can also configure the enable password using the Cisco Configuration Professional (CCP) tool.
To configure or modify the enable password:
- Enter the configuration mode.
- Enter the enable password [password] command.
- Enter the new enable password when prompted.
- Re-enter the new enable password to confirm.
- Exit the configuration mode.
Example:
conf t
enable password new-password
end
enable password [password] Usage Examples
Command Description
enable password cisco Sets the privileged EXEC password to cisco. Encrypted passwords are not allowed on the enable password command.
enable password 7 03092c7d78dea538dc1b66670ae3f3d9 Sets the privileged EXEC password to a MD5 hash value.
enable password md5 635a3efe6e32020c Sets the privileged EXEC password to a MD5 hashed password.
enable password sha256 salY3rGV2hVwbKW4I= Sets the privileged EXEC password to a hashed password using the SHA-256 algorithm.
enable password sha512 skHpSv9c8e3U8WJcJ/D35lFOqbvKmfk9DFZ9A3Oq2y8sWV4N1Sp6hQ== Sets the privileged EXEC password to a hashed password using the SHA-512 algorithm.
enable password $1$p4ssw0rd$678b93c3e601562ba8a7c2a8f48f3a4d Sets the privileged EXEC password to a hashed password using the SHA-256 algorithm and a salt value.