09-16-2011 11:51 AM - edited 03-07-2019 02:16 AM
Hello all,
I've done two very stupid things, first I didn't make an offline backup of my configuration of recently added switch, 2950, and two, I have forgotten the username that I setup for SSH access into that switch. (I did prevent telnet access as well.)
I'm pretty postive I know what the password is, at least narrowed down to few possibly but obviously with out the username I'm dead in the water. I was hoping somone may have a suggestion that would help me recovery the SSH username without having to blow away my configuration and start over.
I did come across this: http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml, however it seems to be more for password recovery, but before I went through all that I wanted to confirm that first I'm not going to lose my configuration and two it will work in the same manner of recoverying.
Thanks,
Bob
09-16-2011 12:09 PM
Bob
Can you not just use console access to look at the config ? You would need console access anyway for the password recovery procedure.
If you don't actually know the passwords for console access then yes you need to use password recovery as in the link you provided. You won't lose your existing configuration and it wil allow you to get into the running config where you can reset your password and view the ssh username.
Jon
09-16-2011 12:13 PM
I cannot get into the console either, access for vty 0 4 is set for ssh as well..
Bob
09-16-2011 12:15 PM
Then you need to use the password recovery as desribed in the doc you linked to.
Jon
09-16-2011 12:43 PM
Thanks Jon..
09-16-2011 12:44 PM
Hi,
vty lines are not console lines and ssh/telnet is used for vty lines not console lines.
I suppose you meant you also forgot your line console password or configured it for local authentication with the same username.
Regards.
alain.
09-16-2011 01:50 PM
Follow the password recovery instructions, if followed correctly you will not lose your configs . When following password recovery it will boot a default config without the startup config , then you just do a copy start runn command which loads your config into running config and you can change anything you want in the config and save it .
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