cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1172
Views
1
Helpful
10
Replies

delete of mode enable on routeur

akpeliodon
Level 1
Level 1

Hello panel I would like to know if there is a way for my problem I removed the enable secret mode on my router now when I access the router with my user account I cannot switch to privileged mode it tells me when I type enable it tells me error in authentication

 

4 Accepted Solutions

Accepted Solutions

akpeliodon
Level 1
Level 1

i do in mode config : no enable secret 5 $1$cCuG$l37/pEi/V78sBw6IL4W2r.

View solution in original post

Unfortunately 

You need to password recovery' I thought you config any aaa auth enable but there is no' so one only solution recover password.

MHM

View solution in original post

Are I going to find my existing configurations again or I have to start all over again?

View solution in original post

Did you wr after remove enable password?

If not 

Reboot the device and it will return to point before you remove enable password.

Goodluck 

MHM

View solution in original post

10 Replies 10

share the config 

MHM

Building configuration...

Current configuration : 8151 bytes

 Last configuration change at 14:58:39 UTC Thu Aug 10 2023 by odon

version 15.4

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

boot-start-marker

boot-end-marker

enable secret 5 $1$cCuG$l37/pEi/V78sBw6IL4W2r.

aaa new-model

aaa session-id common

ip cef

no ipv6 cef

multilink bundle-name authenticated

cts logging verbose

license udi pid CISCO1941/K9 sn FGL1910223C

line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
logging synchronous
transport input ssh
line vty 5 15
transport input ssh

scheduler allocate 20000 1000

end

akpeliodon
Level 1
Level 1

i do in mode config : no enable secret 5 $1$cCuG$l37/pEi/V78sBw6IL4W2r.

Unfortunately 

You need to password recovery' I thought you config any aaa auth enable but there is no' so one only solution recover password.

MHM

Are I going to find my existing configurations again or I have to start all over again?

Did you wr after remove enable password?

If not 

Reboot the device and it will return to point before you remove enable password.

Goodluck 

MHM

unfortunately i do it

I went with cable console on the router I then accessed and reconfigured the enable secret mode but still during the ssh connection when I do enable it always comes out the message: error in authentication

 

Hello,

a factory default reset might be the simplest option. Here is the process:

1. Console into the Router:

Connect to the router using a console cable and a terminal emulation program such as PuTTY or Tera Term.

2. Reboot the Router:

Reboot the router by power cycling it or using the reload command.

3. Interrupt the Boot Sequence:

During the boot process, press the Ctrl + Break (or Ctrl + Pause) keys to interrupt the boot sequence and access ROMMON mode. This may require multiple attempts depending on the timing.

4. Change the Configuration Register:

Once in ROMMON mode, issue the following command to change the configuration register to ignore the startup configuration:

confreg 0x2142

5. Reset the Router:

Restart the router by issuing the reset command.

reset

6. Skip Initial Setup:

When the router reloads, it will prompt you to enter initial configuration mode. Enter no at each prompt until you reach the router's command-line interface (CLI).

7. Load the Startup Configuration:

Load the startup configuration into memory:

copy startup-config running-config

This step is necessary to ensure that you have access to the current configuration.

8. Change the Enable Password:

Enter privileged EXEC mode:

enable

9. Enter global configuration mode:

configure terminal

10. Change the enable password:

enable secret <new_password>

Replace <new_password> with the desired new enable password.

11. Change the Configuration Register Back:

Exit global configuration mode:

exit

12. Change the configuration register back to the default value:

config-register 0x2102

13. Save Changes:

Save the configuration:

write memory

This saves the changes, including the new enable password, to the startup configuration.

14. Verify Access:

Verify that you can access privileged EXEC mode with the new enable password:

enable

 

I then accessed romon mode I did confreg 0x2142 on my router I am at romon 50 without finding a restart, is this normal?