in numerous ways, we choose to cisco packet tracer simulator tool to restore the password, we will first before start router generally set a the enable password and open the router configuration interface, there will be several orders, in the order: Router>The enable / / to enter privileged mode.
router # configure terminal / / into the global model
router (config) # hostname R - A / / for naming A router command #
R - A (config) enable password / 123456789 / set the password command
using commands such as:
rommon 1 ->Confreg 0 x2142 / / change the configuration register values to 0 x2142
rommon 3 ->Reset / / restart the router
and then we can enter the global mode reset privileged mode password and then change the register values to normal, and save your router configuration has been set up, finally again to restart the router.