enable password

Use this command to change or create a password to use when entering enable mode.

Only network administrators can execute this command. For more, see the username command.

There are two methods to enable a password:

Plain Password: a clear text string that appears in the configuration file.
Encrypted Password: An encrypted password does not display in the configuration file; instead, it displays as an encrypted string. First, use this command to create a password. Then, use the service password-encryption command to encrypt the password.

Use the no parameter to disable the password.

Command Syntax

Copy
enable password LINE
no enable password
no enable password LINE

Parameters

LINE

Password string, up to 8 alpha-numeric characters, including spaces. The string cannot begin with a number.

Default

None

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#enable password mypasswd