Line Commands

36-2

36
Command Mode
Global Configuration
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 (36-9)
show users (34-7)
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.
Console(config)#line console
Console(config-line)#