02-07-2012 01:48 AM - edited 03-07-2019 04:46 AM
Hi friends,
I am stuck at a very early stage in the configuration of 3560x switch. It seemed very unusual and that is the reason, I am posting it if anyone has seen this problem.
I configured basic config for line con 0 with login local.
and then I had just put "enable secret xxxxxx."
Now i simply logged out and when i tried logging in, it is asking for a username. Now the thing is that I had not programmed any username. I tried using just "." followed by my secret password, but it did not help.
any suggestions??
Solved! Go to Solution.
02-07-2012 02:08 AM
Hi,
login local means the router is waiting for you to enter a username and password and it will compare to the user/pass combinations it finds in various username xxx password xxx statements.
So in your case the only solution is password recovery to be able to configure a username/password.
Regards.
Alain
02-07-2012 02:19 AM
Mohit,
On Catalyst switches, you just have to press the mode button ( showed on Alain's link ) before starting the switch and keep it until you see the rommon prompt.
Remember, Ctlr-Brk is for Routers
--Lessaid
Best regards,
02-07-2012 05:22 AM
before entering the command login local you must add following line at global
conf mode:
username cisco privilege 15 password cisco
if you already configured telnet session / ip try that to access your switch
other wise perform password recovery.
02-07-2012 02:08 AM
cisco/cisco.
Otherwise, perform password recovery.
02-07-2012 02:08 AM
Hi,
login local means the router is waiting for you to enter a username and password and it will compare to the user/pass combinations it finds in various username xxx password xxx statements.
So in your case the only solution is password recovery to be able to configure a username/password.
Regards.
Alain
02-07-2012 02:13 AM
Hi Alan,
Thanks for reply.
I tried diff combinations but nothing worked.
Also to add to the complexity here, i am using usb to serial adaptor to console the switch. Now with this stupid adaptor, most of the times, i cannot see the boot sequence where i can break and go to rommon mode. So i cannot do the password recovery.
The last thing i am thinking of is to reset as there is no great config to lose.
02-07-2012 02:19 AM
Mohit,
On Catalyst switches, you just have to press the mode button ( showed on Alain's link ) before starting the switch and keep it until you see the rommon prompt.
Remember, Ctlr-Brk is for Routers
--Lessaid
Best regards,
02-08-2012 05:25 PM
Thanks guys, I was treating it like a router.
but anyway, by the time i had read the reply about the password recovery realising its not a router, i had already factory default, which was ok.
But thanks once again and sorry for the late reply.
02-07-2012 05:22 AM
before entering the command login local you must add following line at global
conf mode:
username cisco privilege 15 password cisco
if you already configured telnet session / ip try that to access your switch
other wise perform password recovery.
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