cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1055
Views
7
Helpful
10
Replies

% Error in authentication

I have a Cisco WS-C2960X-24PS-L switch and I wrote the command "no enable secret", now I can't enter privileged EXEC mode , when I enter "enable" in user mode the '% Error in authentication ' appears.

how can I enter to global configuration?

sorry for my language

10 Replies 10

Password recovery 

You need to enter ROM and add enable password.

if I did that, I will miss the running configuration?

No' we take about password recovery not factory reset 

There is no lost of config 

Note:- password recovery need reboot if you dont save the config into startup then you will loss it. 

There is one solution when I think about your issue' 

Do you use aaa for password or local?

i use local authentication, thanks for your effort.

If you access via console and used local user/password without privilege level config for this user can make you access the sw without need enable password.

I think console will give privilege 15 to this user.

Try this way.

I tried to access via console and used my local user /password then it went to user mode >, when write enable, the % Error in authentication appears.

I think you config below 

aaa authentication enable default enable

Then remove the enable password

This end to we can not access without enable password.

Sorry you need password recovery.

MHM

if you only entered the command "no enable secret" and not "write" or "copy run start"
then this config has not yet overwritten the startup-config,
so you can just reload the switch to load the old startup-config without any password recovery needed.

Good idea' I test it' if he dont copy run to startup then reboot the SW make him use startup (with enable password) and access to SW.

dorrainfra@dorra.com both case you will lose config but @pieterh way is better