Cisco Router secret password reset (Recovery)

To recover passwords on most
routers, you need to modify the configuration register to bypass the startup-config file and boot the router with
a limited IOS version. You can then load the existing startup-config file and
view or modify the current password settings. The exact process you use to
recover lost passwords depends on the router model. Listed below are the
general steps you would take for the 1800 series routers:
  1. Establish a console connection to the router.
  2. At the prompt, type show version. Record the
    value for the configuration register (usually 0x2102).
  3. Turn the router off and on.
  4. Within 60 seconds, use the keyboard to send a break
    sequence to the router. For a Windows system, the break sequence is
    typically one of the following:

    • Break + F5
    • Shift + F5
    • ^$B (Shift + 6, Shift + 4, Shift + b)
  5. Type confreg 0x2142 to change the configuration
    register setting.
  6. Type reset or i to reboot. With the
    configuration register changed, the router reboots bypassing the
    startup-config file.
  7. The router will automatically enter Setup mode. At this
    point you can:

    • Use Setup mode to configure the router (including the passwords).
    • Quit Setup mode (using Ctrl + C) and change only the
      existing passwords.

      1. Type enable to enter
        privileged EXEC mode.
      2. Type copy start run to
        load the startup-config file.
      3. Enter configuration mode to
        change the passwords.
      4. Type config-register
        0x2102
        to change the configuration register back to the default.
      5. Exit configuration mode and
        use copy run start to save the changes to the passwords.
  8. Use the reload command to restart the router
    normally.
This entry was posted in IT Help. Bookmark the permalink.

1 Response to Cisco Router secret password reset (Recovery)

  1. You ought to take part in a contest for one of the highest quality websites
    on the internet. I will highly recommend this site!

Leave a comment