Microsoft ES4625 Manuale Utente

Pagina di 674
Line Commands
4-13
4
Command Usage 
• There are three authentication modes provided by the switch itself at login:
- login selects authentication by a single global password as specified by the 
password line configuration command. When using this method, the 
management interface starts in Normal Exec (NE) mode.
- login local selects authentication via the user name and password 
specified by the username command (i.e., default setting). When using this 
method, the management interface starts in Normal Exec (NE) or Privileged 
Exec (PE) mode, depending on the user’s privilege level (0 or 15 
respectively). 
- no login selects no authentication. When using this method, the 
management interface starts in Normal Exec (NE) mode.
• This command controls login authentication via the switch itself. To configure 
user names and passwords for remote authentication servers, you must use 
the RADIUS or TACACS software installed on those servers.
Example 
Related Commands
password
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.
Console(config-line)#login local
Console(config-line)#