Command Line Interface

4-32

4
Command Usage
Telnet is considered a virtual terminal connection and will be shown as “Vty” in
screen displays such as show users. However, the serial communication
parameters (e.g., databits) do not affect Telnet connections.
Example
To enter console line mode, enter the following command:
Related Commands
show line (4-39)
show users (4-21)

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 - NE, 15 - PE).
-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.
Console(config)#line console
Console(config-line)#