If you forget the root password for the router, you can use the password recovery procedure to reset the root password.
![]() |
Note: You need console access to recover the root password. |
To recover the root password:
Figure 90: Connecting to the Console Port on the J4350 or J6350 Services Router

The terminal emulation screen on your management device displays the router's boot sequence.
Hit [Enter] to boot immediately, or space bar for command prompt. Booting [kernel] in 9 seconds...
ok boot -sEnter full pathname of shell or 'recovery' for root
password recovery or RETURN for /bin/sh: recoveryuser@host# set system root-authentication
plain-text-passwordFor more information about configuring the root password, see the JUNOS System Basics Configuration Guide.
New password: juniper1Retype new password:
root@host# commitcommit complete
Reboot the system? [y/n] y