Chapter 4 Command-Line Reference 4-65
Syntax
password {0|7}password
no password
■{0|7} - 0 means input plain password, 7 means input 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. Youcan 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.
■There is no need to specify encrypted passwords on the command line. The
option 7 is used internally by the switch at system bootup time to enable the
switch to read any encrypted passwords stored in the configuration file.
Example
Related Commands
login (4-63)
password-thresh (4-66)
Console(config-line)#password 0 secret
Console(config-line)#