password 37
password The password Line Configuration mode command specifies a password
on a line. To remove the password, use the no form of this command.
Syntax
password password [encrypted]
no password
Parameters
■ password — Password for this level. (Range: 1-159 characters)
■ encrypted — Encrypted password to be entered, copied from
another device configuration.
Default Configuration
No password is defined.
Command Mode
Line Configuration mode
User Guidelines
If a password is defined as encrypted, the required password length is 32
characters.
Example
The following example specifies the password called ‘secret’ on a console.
enable password The enable password Global Configuration mode command sets a local
password to control access to user and privilege levels. To remove the
password requirement, use the no form of this command.
Syntax
enable password [level level] password [encrypted]
no enable password [level level]
Console(config)#
line console
Console(config-line)#
password
secret