88 AAA Commands
password
The password Line Configuration mode command specifies a password on a line. Use the no form of this
command to remove the password.
Syntax
•
password
password
[
encrypted
]
• no password
•
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 password secret on a console.
Line Login Method List Enable Method List
-------------- ----------------- ------------------
Console Default Default
Telnet Default Default
SSH Default Default
http : Local
https : Local
dot1x :
console#
Console(config)# line console
Console(config-line)# password secret
book.book Page 88 Thursday, December 18, 2008 7:40 PM