4
How to Reset Root Password on Juniper SRX If you are unable to access the router you can use the password recovery procedure to reset the root password. Power off the router by pressing the power button on the front panel. Plug one end of the Ethernet rollover cable supplied with the router into the RJ-45 to DB-9 serial port adapter supplied with the router (or another compatible cable) Plug the RJ-45 to DB-9 serial port adapter into the serial port on the management device On the management device, start your asynchronous terminal emulation application (such as Microsoft Windows Hyperterminal or Putty) and select the appropriate COM port to use then configure the port settings as follows: Bits per second: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow control: None Power on the router 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 router’s boot sequence. 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...

Juniper SRX Password Reset

Embed Size (px)

DESCRIPTION

HowTo reset Juniper SRX password

Citation preview

Page 1: Juniper SRX Password Reset

How to Reset Root Password on Juniper SRX

If you are unable to access the router you can use the password recovery procedure to reset the root password.

Power off the router by pressing the power button on the front panel. Plug one end of the Ethernet rollover cable supplied with the router into the RJ-45 to DB-9 serial port adapter supplied with the router (or another compatible cable) Plug the RJ-45 to DB-9 serial port adapter into the serial port on the management device On the management device, start your asynchronous terminal emulation application (such as Microsoft Windows Hyperterminal or Putty) and select the appropriate COM port to use then configure the port settings as follows:

Bits per second: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow control: None

Power on the router 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 router’s boot sequence.

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.

Page 2: Juniper SRX Password Reset

Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery

Enter configuration mode in the CLI with configure command

Set the root password. For example:

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

At the following prompt, enter the new root password. For example:

New password: juniper1Retype new password:

At the second prompt, reenter the new root password.

After you have finished configuring the password, commit the configuration.

root@host# commit

Page 3: Juniper SRX Password Reset

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