Twitter
RSS

Recovering A Lost Enable Secret Password in Cisco Router

If the enable secret password is lost, a new password must be set. To recover a lost enable secret for cisco routers, follow the steps outlined below.
Before you begin - Connect A Console

Connect through Hyperterminal Procedure:
1. Power cycle the router.

2. Send a "break" command to the router within the first 60 seconds after power cycle. The break command will vary depending on the terminal emulation package used. For Windows Hyperterminal, the break command is sent by holding the CTRL key down and pressing the BREAK key. After sending a successful break character, the router will be in ROM monitor mode as indicated by the angle bracket (>) prompt.

3. From the ROM monitor prompt, set the configuration register value to 0x142. This causes the router to bypass the configuration contents stored in NVRAM upon next bootup and reboot the router by typing the following: 2500/4000

4. > o/r 0x142

5. > i

or 1000/1600/3600/4500

> confreg 0x142
> reset ``````````````````````````````````` The router will reboot itself

6. Enter privileged EXEC mode by typing the enable command. No password will be required. The prompt will change to Router(boot)#.

7. Router> enable

8. Router#

9. Load the original configuration back into the router. There are two equivalent ways of doing this depending on the software version you are running.

10.Router# copy startup-config running-config
For IOS Releases 11.0 and above OR
Router# config mem
For IOS Releases prior to 11.0

11. Set the new enable password.

12.Router# config term

13.Router(config)# enable secret new_password

14. Restore the configuration register and exit configuration mode. The configuration register must be reset so the router will properly boot using the configuration now stored in NVRAM.

15.Router(config)# config-reg 0x2102

16.Router(config)# end

17. Save changes

18.Router# copy running-config startup-config
For IOS Releases 11.0 and above OR

Router# write memory

Comments (0)

Post a Comment