Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Installing Software on EX and QFX Series devices with a Single Routing Engine

You can use this procedure to upgrade Junos OS on switch with a single Routing Engine.

To install software upgrades on a switch with a single Routing Engine:

  1. Download the software package as described in Downloading Software Packages from Juniper Networks.
  2. If you have not already done so, connect to the console port on the switch from your management device, and log in to the Junos OS CLI. (For instructions, see Connect and Configure a QFX5120 Switch, Performing the Initial Software Configuration for the QFX5210, or Connecting and Configuring an EX4650 Switch.).
  3. (Optional) Back up the current software configuration to a second storage option. See the Junos OS Installation and Upgrade Guide for instructions on performing this task.
  4. (Optional) Copy the software package to the switch. We recommend that you use FTP to copy the file to the /var/tmp/ directory.

    This step is optional because Junos OS can also be upgraded when the software image is stored at a remote location. These instructions describe the software upgrade process for both scenarios.

  5. Install the new package on the switch:

    Replace package with one of the following paths:

    • For a software package in a local directory on the switch, use /var/tmp/package.tgz.

    • For a software package on a remote server, use one of the following paths, replacing package with the software package name—for example, jinstall-host-qfx-5e-x86-64-20.2R1-S1.5-secure-signed.tgz.

      • ftp://hostname/pathname/package.tgz

      • http://hostname/pathname/package.tgz


    If you need to terminate the installation, do not reboot your switch; instead, finish the installation and then issue the request system software delete package.tgz command, where package.tgz is, for example, jinstall-host-qfx-5e-x86-64-20.2R1-S1.5-secure-signed.tgz. This is your last chance to stop the installation.

  6. Reboot the switch to load the installation and start the new software:
  7. After the reboot has completed, log in and use the show version command to verify that the new version of the software is successfully installed.