IT Knowledge Base

User Tools

Site Tools


This is an old revision of the document!

Cisco Password Recovery

  1. Boot the router and interrupt the boot sequence by performing a break (CTRL+BREAK), which will take the router into ROM monitor mode (rommon)
  2. Change the configuration register to turn on bit 6
    rommon> confreg 0x2142
  3. Reload the router
    rommon> reset
  4. Enter privileged mode (answer “no” to entering setup mode, press ENTER to go into user mode, type enable to go into privileged mode)
  5. Copy the startup-config file to running-config
    copy start run
  6. Change the password
    conf t
    username admin privilege 15 secret <newpassword>
    enable secret <newpassword>
  7. Reset the configuration register to the default value
    conf t
    config-register 0x2102
  8. Save the router configuration
    copy run start
  9. Reload the router
kb/cisco_password_recovery.1533778480.txt.gz · Last modified: 2018/08/09 11:04 by Dan Mundy