AAA Commands
password
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 43
2
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.
Console(config)# line console
Console(config-line)# password secret