% Error in authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 02:14 AM
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
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 02:25 AM
Password recovery
You need to enter ROM and add enable password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 02:37 AM
if I did that, I will miss the running configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 02:46 AM - edited 06-15-2023 02:49 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 03:06 AM
There is one solution when I think about your issue'
Do you use aaa for password or local?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 04:39 AM
i use local authentication, thanks for your effort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 04:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 04:58 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 05:11 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 07:14 AM - edited 06-15-2023 07:14 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 07:42 AM
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
