CISCO PASSWORD RESET WITHOUT LOSING CONFIG

 Sometimes it may require to reset enable password, console password and user password of Cisco switch, Cisco router.

Connect the PC to the console port of the router. Use this data:

      o   9600 baud rate
      o   No parity
      o   8 data bits
      o   1 stop bit
      o   No flow control

Step 1: Reload router. If you do not know the password, just perform hard reboot.

Step 2: Wait for 10 seconds of startup and send a break signal to terminal
If you are using PUTTY, right click on the top of PUTTY Window, and select Special Command > Break



rommon 1 >> 

Step 3: Now you are in rommon prompt

Step 4: At the prompt, type the following command confreg 0x2142 to skip the existing configuration on startup.



rommon 1 > > confreg 0x2142

You must reset or power cycle for new config to take effect.

Step 5: Type the following command to reset the router



rommon 2 > reset

Step 6: After router has loaded, press No to initial configuration dialogue




— System Configuration Dialog —
Would you like to enter the initial configuration dialog? [yes/no]: no
At prompt, type as follows

CiscoDevice> en
CiscoDevice #copy start run
CiscoDevice # sh run

Change enable secret
CiscoDevice # config t
CiscoDevice (config)# enable secret !340aGA#$mba

Change register back, Save and Reboot router
CiscoDevice (config)# config-register 0x2102
CiscoDevice # wr mem
CiscoDevice # reload

Cisco router will now boot with your old configuration and you should be to access with your new password.

Post a Comment

Previous Post Next Post