You are on page 1of 2

To recover the root password:

1. Power off the device by pressing the power button on the front panel and reboot the
device.
2. Turn on the power to the management device.
3. Power on the device by pressing the power button on the front panel. Verify that the
POWER LED on the front panel turns green.
The terminal emulation screen on your management device displays the devices boot
sequence.
4. When the autoboot is completed, press the spacebar a few times to access the bootstrap
loader prompt.
5. At the following prompt, enter boot -s to start up the system in single-user mode.

loader>boot -s

6. At the following prompt, enter recovery to start the root password recovery procedure.

Enter full pathname of shell or 'recovery' for root password recovery


or RETURN for /bin/sh: recovery

7. Enter configuration mode in the CLI.


8. Set the root password. For example:

user@host# set system root-authentication plain-text-password

For more information about configuring the root password, see the Junos System Basics
Configuration Guide.
9. At the following prompt, enter the new root password. For example:

New password: juniper1


Retype new password:

10. At the second prompt, reenter the new root password.


11. If you are finished configuring the network, commit the configuration.

root@host# commit
commit complete

12. Exit configuration mode in the CLI.


13. Exit operational mode in the CLI.
14. At the prompt, enter y to reboot the device.

Reboot the system? [y/n] y

You might also like