cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
331095
Views
124
Helpful
16
Replies

Line vty 0 4 and the login command

eddy.eurlings
Level 1
Level 1

In ICND1 I find this configuration for the line vty :

emma(config)#line vty 0 15
emma(config-line)#password love
emma(config-line)#login

emma(config-line)#exit

Why U use here the login command?

In my experiance, even without the login command, when you open a TELNET connection, there must be an password set and you have to give the password. If there's no password set, the switch/router will refuse the TELNET session. (later followed by an enable password)

I always do this :

emma(config)#line vty 0 15
emma(config-line)#password love
emma(config-line)#exit

What's the difference between the 2 configs?

Thanks for your help,

Eddy

               

16 Replies 16

Glad to know that you found this discussion helpful. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.

 

HTH

 

Rick

HTH

Rick

Certainly, a very excellent intellectual global community which I cannot miss to be part of where help will always be there!
Review Cisco Networking for a $25 gift card