A quick question that should be easy for someone but the answer escapes me.
I have serveral Cisco 2501 routers in my company. Thay all have the default 5 Telnet or VTY terminals enabled. How would I reduce that number to just one or two?
Well I have had no luck. I cannot remove the router tellme me I am unable to remove the last 5 tty lines. I have even tried to seperate the line tty 0 1 and the line tty 2 4 and remove with the no command 2 4 and I am having no luck.
Since the router will not allow you to delete vty connections I see only two other options for this to work to your benifit.
First suggestion would be to go into config mode then go into line vty 0 4 and enter the following command session-limit 2 (this will allow you to define that at any given time that only to telnet sessions can be opened.
The second option would be to configure login and passwords for vty 0 1 and do not set login information for vty 2 4. This will cause the vty connections to require a login and if ones not set then it will not allow for a password to be entered. Caution: I believe you will still need to set the password for vty 2 4 but just dont put in the command login for vty 2 4.
Thats excellent. With Cisco Routers if you asign a password but do not put the command login in the settings it will disconnect the user stating that the password is set but unable to login. My only concern with what you put is that you allow someone to login but dont require them to enter a password. Have you tested this with telnet sessions to see if it works.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.