Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

How to Recover the Root Password for SRX400 Firewall Series

This procedure resets the root password without resetting the firewall configuration to the factory default configuration. Only the root password is reset. This procedure does not affect the firewall state or any other function.

How to Connect to the Serial Port

The first task in the password reset operation is to connect to the serial port of the firewall.

To connect to the serial port:

  1. Power off the firewall by pressing the power button on the front panel.
  2. Turn off the power to the management firewall (usually a computer) that you will use to access the CLI.
  3. Connect one end of the console cable with the USB-C male connector to the console port on the firewall.
  4. Connect the other end of the cable with the appropriate connector to the console server or management console.
  5. Turn on the power to the management firewall.
  6. On the management firewall, start your asynchronous terminal emulation application (such as Microsoft Windows Hyperterminal), and select the appropriate COM port to use (for example, COM1).
  7. Configure the port settings with the following values:
    • Bits per second: 115200

    • Data bits: 8

    • Parity: None

    • Stop bits: 1

    • Flow control: None

  8. Power on the firewall by pressing the power button on the front panel.

How to Recover the Root Password

The password reset operation is triggered early in the boot process. You reset the password in the shell.

To recover the root password:

  1. Do a hard reboot of the Routing Engine (that is, shut down the OS, power off the firewall, and then power on the firewall).

    On the terminal, you will see the following screen:

  2. Use the arrow keys to scroll down to the Primary [Recover password] option, and press Enter.
  3. Enter the new password, and then retype the new password and press Enter.

    The reboot proceeds until the login prompt appears.

  4. At the prompt, log in as root using the new password.

    You will see a shell prompt.

  5. To start the CLI, enter cli.