Friday, 4 October 2013

Password setting and breaking in Router



Password setting and  breaking in Router
§  Default OS in router –ROMMON
§  In Rommon mode,we can recover password,recover  flash etc.
§  Startup config -0x2102
§  Blank register -0x2142
Password Setting
1.       Manually restart the router
2.       Press  ctrl+break button for 15 seconds
3.       Then it comes to rommon mode
4.       rommon 1 >confreg 0x2142 –press enter
5.       rommon 2 >reset
6.       Router>enable –press enter
7.       Router#copy startup-configure running-configure
8.       Router#show running-configure(Here we can view the password  )
9.       For deleting  the password type
10.   Router#no enable password
11.   Router#copy running-config startup-config
12.   Router#configure –press enter
13.   Router(config)#config-register 0x2102
14.   Router(config)#exit
15.   Router#write –press enter –for saving changes
16.   Router#reload –after saving only reload

                                  [If we deleted the password after reload the router won’t ask password or else we just viewed the password only,then after reload we have to give the enable password and continue..]Thank you.

No comments:

Post a Comment