07-22-2003 08:02 AM - edited 03-02-2019 09:01 AM
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?
07-22-2003 08:50 AM
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
07-22-2003 10:09 AM
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
07-23-2003 12:46 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide