12-21-2006 01:08 PM - edited 03-05-2019 01:27 PM
Hello,
When I was configuring a set of Cisco C3750 network switches (firmware version: 12.2(25)SEB4), I apparently incorrectly entered my Virtual Terminal Password. It is not causing a problem, other than I do not get prompted for a password when I telnet into the switch.
I haven't been able to find a command in the Command Reference book that allows me to reset, or turn on this feature.
Other than starting from scratch and reconfiguring the switches, is there a command, or set of commands, that would allow me to prompt for a password when someone telnets into the switch?
I appreciate all suggestions.
Thanks,
Kevin
Solved! Go to Solution.
12-21-2006 01:20 PM
Hi Kevin,
Switch# config Term
#line vty 0 4
#password cisco
#login
#end
#write mem
the above example will set the telnet password to cisco.
HTH
Regards
Shaheen
12-21-2006 01:20 PM
Hi Kevin,
Switch# config Term
#line vty 0 4
#password cisco
#login
#end
#write mem
the above example will set the telnet password to cisco.
HTH
Regards
Shaheen
12-26-2006 10:12 AM
Shaneen,
Excellent. That worked perfectly.
I suspected it was a line command. I am not well versed in them and was not really willing to poke around, unless rebuilding the switch was my only option.
Thanks for the help.
Sincerely,
Kevin
12-21-2006 01:26 PM
Kevin,
I assume you are talking about the VTY password. Entering the incorrect password shouldn't be the reason why the switch isn't prompting for a password. Rather, line vty 0 4 might be configured with 'no login' and this would cause the router to bypass login to access user mode. If it is then configure 'login' under 'line vty 0 4' mode to be authenticated.
HTH
Sundar
12-26-2006 10:14 AM
Sundar,
Shaheen posted the same fix with a nice little script about 3 minutes before you did.
Thanks for the help.
Sincerely,
Kevin
04-11-2019 03:20 AM
04-11-2019 03:25 AM
12-31-2006 09:53 AM
Kevin-
You'll have to do this from Console since you don't know your VTY password
1. Enter config t
2. Enter int vty 0 4
3. Type password
4. Type login
5. Type Control Z
6. type copy run star (to save configuration)
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