Juniper J2300 Password Recovery
# When the following prompt appears, press the Spacebar to access the router’s bootstrap loader command prompt:
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 9 seconds…
# At the following prompt, enter boot -s to start up the system in single-user mode.
ok boot -s
# 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
# Enter configuration mode in the CLI.
# 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.
# At the following prompt, enter the new root password. For example:
New password: polsri
Retype new password:
# At the second prompt, reenter the new root password.
# If you are finished configuring the network, commit the configuration.
root@host# commit
commit complete
# Exit configuration mode in the CLI.
# Exit operational mode in the CLI.
# At the prompt, enter y to reboot the router.
Reboot the system? [y/n] y