cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
72247
Views
26
Helpful
4
Replies

What is Login command in VTY configuration

chiragvyas_50
Level 1
Level 1

Pls information in usage of Login command in VTY configuration in brief

4 Replies 4

robertblasey
Level 1
Level 1

aaa new-model

aaa authentication login default line

line vty 0 X

password 0 MYPASSWORD

login authentication default

Pravin Phadte
Level 5
Level 5

Login command is used in VTY for password that is specified to be checked at login. If you do not use login command you will not able to use the specified password for the vty to login.

Login can also be used with login local. In which you can config a username and password on the router to be auth.

below is the link.

http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_configuration_example09186a0080204528.shtml

Hope this helps.

Pravin

Hi,

Login is used to control VTY access, it generally has 4 cases when AAA is not configured, and with AAA it serves another purpose:

Without AAA:

One of the following methods must be explicitly configure otherwise there can't be VTY access to the router.

1. "no login" > No password is required for VTY access

2. "login" + "password xxxx" > This password is required for login.

3. "login local" + "username xxxx password xxxx" (global configuration) > a local configured username and password are required for login.

4. "login tacacs" + "tacacs-server host x.x.x.x" (global configuration) > Use TACACS or Extended TACACS server for login.

With AAA:

With AAA it can be used to specify a custom AAA authentication method using the "login authentication xxxx" command under the VTYs.

NOTE TACACS+ can be enabled only through AAA commands.

I hope that i've been informative.

BR,

Mohammed Mahmoud.

Thanx a lotttttt......got it

Review Cisco Networking products for a $25 gift card