System Management Commands
4-47
4
Related Commands
username (4-110)
password (4-47)
This command specifies the password for a line. Use the
no
form to remove the
password.
Syntax
password
{
0
|
7
}
password
no password
• {
0
|
7
} - 0 means plain password, 7 means encrypted password
•
password
- Character string that specifies the line password.
(Maximum length: 8 characters plain text, 32 encrypted, case sensitive)
Default Setting
No password is specified.
Command Mode
Line Configuration
Command Usage
• When a connection is started on a line with password protection, the system
prompts for the password. If you enter the correct password, the system
shows a prompt. You can use the
password-thresh
command to set the
number of times a user can enter an incorrect password before the system
terminates the line connection and returns the terminal to the idle state.
• The encrypted password is required for compatibility with legacy password
settings (i.e., plain text or encrypted) when reading the configuration file
during system bootup or when downloading the configuration file from an FTP/
TFTP server. There is no need for you to manually configure encrypted
passwords.
Example
Related Commands
login (4-46)
password-thresh (4-49)
Console(config-line)#password 0 secret
Console(config-line)#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......