Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Install Junos OS Software onto an NFX Series Device from a USB Drive


This section details how to install Junos OS software onto an NFX Series device from a USB drive. Doing this sets the device to the factory-default state. We also perform some confirmation steps and obtain the device’s serial number.

Before You Begin

In order for this procedure to succeed, be sure that you have the following:

  • Physical access to the USB port of the NFX Series device

  • A USB drive of at least 4GB containing the Junos OS software image inserted into the USB port of the NFX Series device

  • Access to the console port of the NFX Series device (This can be physical access or access over a terminal server.)

  • A DHCP server that is reachable from the ge-0/0/11 interface of the NFX Series device. This DHCP server must be able to provide IP address, name server, and default gateway to the NFX Series device upon request.

To install Junos OS software onto an NFX Series device by using a USB drive:

  1. Ensure that the USB drive containing the Junos OS software image is inserted in the USB port of the NFX Series device.

    This allows you to boot the NFX Series device from the USB drive.

  2. Access the NFX Series device console either directly or using a terminal server.

    You do not need to login; just ensure that you are actively connected.

  3. Power off the NFX Series device.
  4. Power on the NFX Series device.
  5. Immediately return to the session that you have open to the console port of the nfx1 device.

    From the console of the nfx1 device, press the ESC key every second until the following message appears: Esc is pressed. Go to boot options.


    If you do not see this message in the console and the NFX appears to be booting normally, you need to wait for the boot to complete and then go back to step 1.

  6. A menu appears after a brief time. Use the down arrow key to select Boot Manager, then press Enter.
  7. When the Boot Manager menu appears, press Enter to boot from the USB00 drive.
  8. When the GNU GRUB menu appears, use the up or down arrow keys to select Install Juniper Linux with secure boot support and then press Enter.

At this point, the NFX Series device installs the software contained on the USB drive. Installation takes some time. You can keep your console connection active to watch the installation process.

The NFX Series device is made up of multiple components that load and boot in a specific order. See NFX250 Overview for details. The PFE of the NFX Series device may take a few minutes to complete the boot and allow the jsxe0 interface to obtain its address from DHCP.

Log in to the console of the NFX Series device as the root user and confirm that the jsxe0 interface has received its address using the following procedure:

  1. Press Enter to refresh the login prompt.
  2. At the jdm login prompt, type root and press Enter.Note

    There is no password assigned to the root user at this point. For the purposes of this deployment exercise, do not set a root password at this time.

  3. At the root@jdm:~# prompt, type cli and press Enter.
  4. Type show interfaces jsxe0 and press Enter.

The jsxe0 interface has a number of logical interfaces used internally by the NFX Series device for different purposes. Look for the jsxe0.0 logical interface. Confirm that the DHCP server has provided an address in the proper range before continuing.

At this point, you can confirm that the DNS name server and default gateway are working by issuing the ping command to some host on the Internet.

The last part of this procedure is to login to the Junos Control Plane (jcp) to obtain the device serial number which will be used later in the SD-WAN deployment.

The device serial number is listed on the Chassis line of the output. In this example, it is partly obscured for security purposes. Make note of the serial number for later use.