VTY Lines splitted into 2 groups

Unanswered Question
Apr 21st, 2009


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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 2 (3 ratings)
mahmoodmkl Wed, 04/22/2009 - 00:38


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.



davy.timmermans Wed, 04/22/2009 - 01:32

Hi Mahmood,

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


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?

Richard Burts Wed, 04/22/2009 - 05:01

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.




This Discussion