Cisco Router Password Recovery
Cisco Router Password Recovery
Cisco Router Password Recovery
1. Attach a terminal or PC with terminal emulation to the console port of the router.
Use these terminal settings:
9600 baud rat
No parity
8 data bits
1 stop bit
No flow control
Operating
Software Platform Try This
System
Hyperterminal
IBM Compatible Windows 95 Ctrl-F6-Break
(version 595160)
Ctrl-\l
Kermit Sun Workstation UNIX
Ctrl-\b
DOS or
ProComm Plus IBM Compatible Alt-b
Windows
Break
Terminal IBM Compatible Windows
Ctrl-Break
Break-F5
Shift-F5
Windows NT IBM Compatible Windows
Shift-6 Shift-4 Shift-b
(^$B)
5. Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash.
This step bypasses the startup configuration where the passwords are stored.
6. Type reset or i at the rommon 2> prompt.
7. The router reboots, but ignores the saved configuration.
8. Type no after each setup question, or press Ctrl-C in order to skip the initial setup
procedure.
9. Type enable at the Router> prompt.
You are in enable mode and should see the Router# prompt.
10. IF YOU DO NOT WANT THE EXISTING CONFIG THE GO TO STEP 17 otherwise
continue to step 10.
11. Type copy startup-config running-config in order to copy the nonvolatile RAM
(NVRAM) into memory
12. Warning: Do not type copy running-config startup-config or write. These commands
erase your startup configuration.
13. Type configure terminal.
The router(config)# prompt appears.
14. Type enable secret <password> in order to change the enable secret password. For
example:
hostname(config)#enable secret cisco
15. Issue the no shutdown command on every interface that you use.
16. If you issue a show ip interface brief command, every interface that you want to use
should display up up.
17. Type configure terminal.
router(config)# prompt appears.
Type config-register 0x2102
Example router(config)#config-register 0x2102
18. Issue the no shutdown command on every interface that you use.
19. If you issue a show ip interface brief command, every interface that you want to use
should display up up.
20. Press Ctrl-z or end in order to leave the configuration mode.
21. The hostname# prompt appears. Type ; write memory or copy running-config
startup-config in order to commit the changes.