|
|
Recovering Lost Cisco Passwords
- Connect a PC or Terminal to the router's console port using
a Terminal Emulation program such as Hyper Terminal (need to
update original HyperTerminal for NT (doesn't send break) or use
the Win95/98 version).
- Once connected and logged in type show version
and record the settings of the Configuration register. The
configuration register setting is shown at the bottom of the
screen in the format of:
Configuration Register is 0x2102
- With the terminal or PC still attached, power off the router
and power on the router.
- Within 60 seconds of the router powering back on, press the
[Control]+[Break] keys on the keyboard of the terminal.
- If done correctly, you should see the bootstrap program
prompt > without a router name in the prompt. If you don't see
the symbol, the break signal wasn't properly sent to the router.
Try it again after checking the console cable and Terminal
settings (9600 baud, 8 data bits, No parity, 1 stop bits).
- On 2500 series routers, to reset the the configuration
register to boot from ROM and ignore NVRAM enter the command at
the > prompt:
o/r 0x042
- Initialize the router by entering the command i
at the > prompt.
- The Router will go through the power cycle and will set the
register to 0x042. This will cause the router to boot
the boot ROM system image and prompt you with the system
configuration dialog as follows:
--System Configuration Dialog--
- Answer no to the configuration system prompts until the
following is displayed:
Press RETURN to get started!
- Press [ENTER] and the boot ROM prompt appears:
Router>
- Enter the enable command at the prompt. Then
enter the configure memory command as follows:
Router#configure memory
- Enter the terminal configuration mode with the command:
Router#conf t
- Now you can enter your new passwords with the commands:
(where ccna is the new password)
Router(config)#enable ccna
Router(config)#enable secret ccna
- Set the configuration register back to the original setting
with the command:
Router(config)#config-register 0x2102
- Then enter the following commands to exit global
configuration mode, save the configuration, and restart the
router.
Router(config)#[control]+[Z]
Router#write mem
Router#reload
|
|
|