03-02-2012 02:20 AM - edited 02-21-2020 04:34 AM
hi,
i have configured line vty with username password
but when i try to telnet that switch, it is only asking me password
i dont understand this
i am telneting from 4506e core switch to 2960 edge switch
03-05-2012 12:47 AM
Hi vishal patil,
Follow this simple command,
# line vty 0 4 - enables you to allocate a space up to 0 - 4 vty term over telnet session.
# login local - enables you to use the local username and password that you had created. (assuming you have already done created a username and password for your app). Don't use just login only or else it will prompts you just the way you have had.
# end
-onin.
03-05-2012 04:19 AM
hi,
i created local username and password and also done login local
but it only asks me the password while telneting
I am on core switch and telneting edge switch.
But when i telnet to core switch from putty, it asks me both username and password
didn't get this
03-05-2012 07:45 PM
hi vishal patil,
try to check the configs to both of your SWs. use the command below and make sure that the results og line vty contains login local to both SWs or you may be post the sh run configs from both SWs so we may determine what causing the issue. (but basically the command above should fix your problem. the command below is for comparison between the two SWs' line vty configuration.)
# sh run | include line vty
-onin.
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