10-24-2012 08:42 PM - edited 03-04-2019 05:57 PM
Hi there,
Today I wanted to change my passwords on my router Cisco 888e.
I connect by telnet my router and access the enable mode.
Then, I set my enable password to passwordxxx with the command enable password password1.
After a show run, i could see in this config my new password correctly set.
Then, I set my enable secret password to passwordxxx (the same) with the command enable secret password password1.
I log off the enable mode.
Try to log on with the command en but when I type the new or the old password, I receive a 'Access denied' message.
And I'm sure of the new one because on my command line to define it I could see this new password in clear!!!
I can't understand what is wrong...
What are my solutions to access the enable mode again?
If I reboot my router, it'll run the previous config file with the old password? I've only worked on the running config file and haven't apply these changes to the nvram.
Otherwise, what are the other solutions?
Thanks for your help.
Regards,
Cedric
10-24-2012 09:24 PM
Hello Cedric,
If you have not save the configuration a reboot will do it, You will be able to then connect using the old password.
Now regarding the new password and being unable to login I know you check it but man you might have wrote it down differently.
Please try it one more time and let us know,
Regards,
Julio
10-25-2012 05:02 AM
Hi,
if you had set your password by command "enable password password1"
and then issued command "enable secret password password1", you should have received an error message
"The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret."
So it looks like you made a typo when issued the second command.
As the secret password is prefered when both are configured, your secret password (with the typo!) is reguired now.
So the easiest way is to reboot now.
Best practice for next times:
Don't log off the enable mode after you changed the password.
Open a new VTY session instead.
In a case anything goes wrong with your login, you can fix it from the original session being in enable mode still.
HTH,
Milan
10-25-2012 10:27 AM
Hi,
additionally:
ad "And I'm sure of the new one because on my command line to define it I could see this new password in clear!!!"
It's possible you included some non-printable character by typo. Like a space in the end of the password, e.g.
BR,
Milan
10-25-2012 08:59 AM
If you setup "enable password" and "enable secret" (enable secret) will take precedence. And generally you can't setup both the same so try typing in your old enable secret password.
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