Showing posts with label BREAKING PASSWORD OF CISCO ROUTERS WITHOUT LOOSING THE REST OF THE CONFIGURATION. Show all posts
Showing posts with label BREAKING PASSWORD OF CISCO ROUTERS WITHOUT LOOSING THE REST OF THE CONFIGURATION. Show all posts

Friday, 8 January 2010

BREAKING PASSWORD OF CISCO ROUTERS WITHOUT LOOSING THE REST OF THE CONFIGURATION

BREAKING PASSWORD OF CISCO ROUTERS WITHOUT LOOSING THE REST OF THE CONFIGURATION




Step-1 :
Switch off the router and then switch it on after some time , within the first few seonds of booting press the CTRL+Break Keys
The router will enter the ROM Monitor mode .

Rommon1>

Step-2: In the ROM Monitor mode change the configuration Register to 0x2142 to ignore the Startup Configuration file upon booting

Rommon1>confreg 0x2142

Rommon2>b(For initiating the boot sequence)

On Booting the router will enter the Setup mode .
Would you like to enter the initial configuration guidelines (yes/no):

Step-3:
Dont select any option (Yes or No) , just skip the setup mode by pressing CTRL+C.The router will now enter the User Exec mode

Router>

Step-4:
Enter the privilige mode and copy the startup configuration file to the RAM(Running-Config)

Router>enable

Router#copy startup-config running-config

Step-5:
Change the enable/enable secret or whatever password you want to change and then the configuration to the NVRAM

Router(config)#enable secret Cisco

Router#wr

Step-6:
Dont forget to change the config-register value to the default

Router(config)#config-register 0x2102


The procedure is quite useful in case someone has lost the password and wants to break it without affecting the rest of the configuration .