Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Bronze

how many vty lines are there?

I have a scenario that requires I set login and password protection on telnet access. Typically I go to line vty 0 4 and set login and a password. On 2500s I use 0 4 but I'd seen more lines on other routers. So I tried higher numbers and the 2500 let me put in line vty 0 197. In the conf gi display it separates the 0 4 and 5 197 vty lines but they all show.

How many vty lines are there that need to be protected? Did I created additonal ones above the default when I used 0 197?

  • Other Network Infrastructure Subjects
3 REPLIES

Re: how many vty lines are there?

I think, the total number is actually dependent on the hardware you are using. By default all routers have 5 vty lines (factory defaults). Unless you configure the remaining available lines, there is no need for them to be protected. You created additional lines, when you specified the number 0 197. Hence you will need to protect those lines, ones they are created. They can also be removed using the command "no line vty".

Router groups 0 to 4 and 5 through 197 separately.

If you take a 1700 router, the total number of lines you can configure is upto 15. So the number of lines, varies for diff hardware platforms.

HTH

Bronze

Re: how many vty lines are there?

Thanks for the response.

It seems like there is a mix out there. I was able to delete all but vty 0 4 on a 2500 running 12.2. On a 2612 it only had 0 4 but on a 2620 it had 0 15 and would not let me delete any of them.

I guess you just need to check how many lines there are before you set the login and password so you get them all and dont create any extras.

Thanks again

Re: how many vty lines are there?

That sounds strange, I just checked on a 2610, and it did have 15 lines, default was 5. I created 10 more lines using command (line vty 0 15). It created two groups, 0 through 4 in one group and 5 through 15 in another group (listed separately on the configs).

When I gave a "no line vty 5 15", it removed all of them.

496
Views
0
Helpful
3
Replies
This widget could not be displayed.