Friday 10 June 2011

Last-resort password recovery

                         An interesting password recovery technique, which can be used in those weird circumstances when you cannot force the router to go to ROMMON (for example, you’ve configured no service password-recovery and the break signal does not work as expected). Unfortunately, his trick works only if you can remove the flash memory from the router (it’s soldered in low-end models):

   1. Turn off the router.
   2. Take out the flash.
   3. Turn on the router.
   4. This time router will take you to ROMMON as it cannot find an IOS image.
   5. Set the configuration register with confreg 0x2142.
   6. Reset (this will change the stored value of the configuration register).
   7. Turn off the router.
   8. Reinsert the flash.
   9. Turn on the router and you are done.

No comments:

Post a Comment