cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1616
Views
6
Helpful
3
Replies

VTY Lines splitted into 2 groups

Gentlemen,

Can anybody explain me why Cisco Routers/Switches

have theirs vty lines splitted into 2 (two) groups: 0-4 & 5-14 ?

{

line vty 0 4

privilege level X

transport input all

!

line vty 5 14

privilege level X

transport input all

}

Thank you.

3 Replies 3

mahmoodmkl
Level 7
Level 7

Hi

I think the earlier IOS versions were capable of providing 5 vty lines and as the enchanments took place they increased the vty connections and diving the vty connections gives u flexibility to control the access for the device.

Thanks

Mahmood

Hi Mahmood,

Flexibility is not the reason because you can split up the lines as you want.

Eg:

line vty 0

login local

transport input ssh

line vty 1

login local

transport input telnet

It's true that earlier IOS versions supports only up to 5 lines.

But I'm curious what's the reason for splitting the lines up into 0 4 and 5 14, even if the configuration is the same

maybe to differentiate between default and optional?

Davy makes a good point that if you configure vty lines differently they will show up separately in the config. The original post asks a slighly different question: even when the configs are the same and you would think that they would show up as one group the config still separates vty 0 4 from any others that are defined. It is my understanding that this reflects the fact that the parser still regards the original 0 to 4 as the default (which can not be removed from the config) and any others as added.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card