Wednesday, December 29, 2010

disable password recovery in cisco routers

we can disable password recovery by using a comand
"no service password recovery" in configuration mode.
its a hidden command

Saturday, December 4, 2010

password recovery in cisco routers


password recovery for 2600/2800

1.Attach a PC with terminal emulation to the console port of the router.

2.power on the router

3.Press cntrl + Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMmon mode.

4.change configuration register value from 2102 to 0x2142
command : >confreg 0x2142
5.then reboot the router >reset
The router reboots, but ignores the saved configuration

6. enter in to the enable mode. Should see the Router# prompt

7.Type configure memory or copy startup−config running−config in order to copy the nonvolatile
RAM (NVRAM) into memory.
Warning: Do not type copy running−config startup−config or write. These commands erase
your startup configuration.

8.enter in to the config mode

9.then change the passwords (enable secret,console pwd etc..)

10 change the config reg value to 0x2102
using command R1(config)#config-register 0x2102

11. save the configuration
using command R1#write or R1#copy run start