Command:

login


Mode:

Router#(config-line)#

Syntax:

login [local | tacacs]

no login [local | tacacs]


Syntax Description:
local This key word selects local password checking. Authentication is based on the username specified with the username global configuration command.
tacacs

Selects the TACACS-style user ID and password-checking mechanism


Command Description:

To enable password checking at login, use the login line configuration command. Use the no form of this command to disable password checking and allow connections without a password. Virtual terminals (VTYs) require a password. If you do not set a password for a virtual terminal, it responds to attempted connections by displaying an error message and closing the connection. If you specify the login command without the local or tacacs option, authentication is based on the password specified with the password line configuration command.


Example:

The following example show a sequence of commands that creates a local user and sets up console 0 for local login.

Router#conf t
Router(config)#username  mark  password kram
Router(config)#line console  0
Router(config-line)#login local
Router(config-line)#^Z
Router#exit
Router con0 is now available


Press RETURN to get started.


User Access Verification

Username:

Misconceptions:
None

Related Commands:
login
username

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)