Cisco password recovery
You need to connect via a consol lead and have something like HyperTerm loaded and waiting (8N1)...
- Powercycle router
- Send a BREAK within 60 seconds
- confreg 0x2142 (This resets the router NOT to load startup config)
- i (This reboots the router)
- Say NO if asked to enter setup mode.
- en (enters enable mode)
- copy start run (copies the stored startup config to current running config)
- conf t (tells the router you're configuring from terminal)
- enable secret 'newpassword' (sets new enable secret password)
- config-reg 0x2102 (sets this password in conf reg)
- copy run start (copies current running config to startup config)
- reload (erm, reloads the router)
That's it.