08-03-2023 03:42 PM
help me
I can't access my cisco router.
after enabling ssh and authentication, i forgot to enable authorization on the router.
when I connect to the router and want to switch from "user exec mode" to "privileged EXEC mode", I get this error "% Error in Authentication".
How to solve this problem? need your expertise.
08-03-2023 03:45 PM
You are going to need console connection to the device. Using remote access you can not fix it.
08-03-2023 04:19 PM
@Flavio Miranda I tried the console connection but the problem persists.
I have the same error "% Error in Authentication".
08-03-2023 04:33 PM
Do you have any show running config saved?
Seems console is configured with tacacs , which is a terrible idea.
Probably you need to factory reset the switch
08-03-2023 04:55 PM
@Flavio Miranda unfortunately I don't have the latest config after making the changes to the authentication.
But after having configured the access by ssh, configured the username and password; I remember adding the following commands:
aaa new-model
aaa authentication enable default enable
aaa authentication login default local
aaa authentication login default local-case
08-03-2023 05:07 PM
Unfortunatelly does not matter now. You locked yourself outside.
You need to factory reset the device.
08-03-2023 07:19 PM
What model router is it? You may be able to do a password break. See link below for a Cisco ISR. You might be able to do something similar where you boot into rommon mode and bypass the startup-config.
08-04-2023 06:46 AM
@UZaman3 it is an ISR4351/K9 router.
it's a router that is in production and resetting the device will create a lot of inconvenience. I'll try to follow the document you sent me in order to break the 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