Line Commands 4

login

This command enables password checking at login. Use the no form to disable password checking and allow connections without a password.

Syntax

login [local] no login

local - Selects local password checking. Authentication is based on the user name specified with the username command.

Default Setting

login local

Command Mode

Line Configuration

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

Console(config-line)#login local

Console(config-line)#

Related Commands

username (4-25) password (4-12)

4-11