Related Documentation
- EX Series
- Overview of CoS Upgrade Requirements (Junos OS Release 11.1 or 11.2 to a Later Release)
- Software Installation Overview
- Recovering from a Failed Software Installation
- request system software add
- J Series
- request system software add
- M Series
- request system software add
- MX Series
- request system software add
- PTX Series
- request system software add
- QFabric System
- Overview of CoS Upgrade Requirements (Junos OS Release 11.1 or 11.2 to a Later Release)
- Software Installation Overview
- Upgrading Jloader Software on QFX Series Devices
- request system software add
- QFX Series
- Recovering from a Failed Software Installation
- QFX Series standalone switches
- Overview of CoS Upgrade Requirements (Junos OS Release 11.1 or 11.2 to a Later Release)
- Software Installation Overview
- Upgrading Jloader Software on QFX Series Devices
- request system software add
- SRX Series
- request system software add
- T Series
- request system software add
- Additional Information
- Installation and Upgrade Guide
Upgrading Software
To upgrade Junos OS, you need to install the appropriate upgrade package on the device. Upgrading involves these tasks:
- Downloading Software Files with a Browser
- Accessing Software Downloaded to a Remote Location
- Connecting to the Console Port
- Backing Up the Current Configuration Files
- Installing a Standard Software Package
- Upgrading to an ELS-Based Software Package
Downloading Software Files with a Browser
To download the software package from the Juniper Networks Support website, go to https://www.juniper.net/support/ .
![]() | Note:
To access the download site, you must have a service contract
with Juniper Networks and an access account. If you need help obtaining
an account, complete the registration form at the Juniper Networks
website This procedure shows you how to upgrade software on a QFX Series device, but you can follow the same procedure for any device unless otherwise specified. |
- Using a Web browser, navigate to the https://www.juniper.net/support .
- Click Download Software.
- In the Switching box, click Junos OS Platforms.
- In the QFX Series section, click the name of the platform for which you want to download software.
- Click the Software tab and select the release number from the Release drop-down list.
- In the Install Package section
of the Software tab, select the Install Package for the release.
A login screen appears.
- Enter your name and password and press Enter.
- Read the End User License Agreement, click the I agree radio button, and then click Proceed.
- Save the jinstall-qfx-<version>-domestic-signed.tgz file on your computer.
- Open or save the installation package either to the local system in the var/tmp directory or to a remote location. If you are saving the installation package to a remote system, make sure that you can access it using HTTP, TFTP, FTP, or scp.
Accessing Software Downloaded to a Remote Location
To access the installation package if you downloaded it to a remote location (for example, any system other than the switch):
- From the command line, make sure you are in the /var/tmp directory of the switch.
- Start the shell interface:
user@switch> start shell - Initiate an FTP, TFTP, or scp session.
In this example, FTP is used.
>ftp - Use FTP to access the remote location where the installation
package resides.
ftp ftp://<hostname>/<pathname>/<package-name-m.mZx-distribution>.tgz.where <package-name-m.mZx-distribution>.tgz is jinstall-qfx-11.1R1.5-domestic-signed.tgz
- When prompted, enter your username and password.
- Use the get command to transfer
the installation package from the remote location to your /var/tmp directory on your switch.
get <package-name-m.mZx-distribution>.tgz - Close the FTP session:
bye
Connecting to the Console Port
We recommend that you connect to the console port while installing the installation package so you can respond to any required user input and detect any errors that may occur.
Backing Up the Current Configuration Files
Before you install the new installation package, we strongly recommend that you back up your current configuration files because the upgrade process removes all of the stored files on the switch.
To back up your current configuration files, enter the save command:
user@switch# save filename Executing this command saves a copy of your configuration files to a remote location such as an external USB device.
Installing a Standard Software Package
![]() | Note: Before you install the software, back up any critical files in /var/home. For more information regarding how to back up critical files, contact Customer Support at https://www.juniper.net/support. |
![]() | Note: If you are upgrading from a standard software package to an ELS-based package, see the Upgrading to an ELS-Based Software Package section. |
Install the software in one of three ways:
If the installation package resides locally on the switch, execute the request system software add validate <pathname><source> reboot command.
For example:
user@switch> request system software add validate
/var/tmp/jinstall-qfx-11.1R1.5-domestic-signed.tgz rebootIf the Install Package resides remotely, execute the request system software add validate <pathname><source> reboot command.
For example:
user@switch> request system software add validate
ftp://ftpserver/directory/jinstall-qfx-11.1R1.5-domestic-signed.tgz
reboot![]() | Note: On the QFX5100 switch, use the force-host option to force installing the latest version of the Host OS. The validate option is not supported on the QFX5100 switch. |
If the installation package resides locally on the QFX5100 switch, execute the request system software add force-host <pathname><source> reboot command.
For example:
user@switch> request system software add force-host
/var/tmp/jinstall-qfx-5.13.2X51-D10.6-domestic-signed.tgz rebootIf the install Package resides remotely from the QFX5100 switch, execute the request system software add force-host <pathname><source> reboot command.
For example:
user@switch> request system software add force-host
ftp://ftpserver/directory/jinstall-qfx-5.13.2X51-D10.6-domestic-signed.tgz
rebootAfter the reboot has finished, verify that the new version of software has been properly installed by executing the show version command.
user@switch> show versionUpgrading to an ELS-Based Software Package
To upgrade your switch from a version of Junos OS that does not support Enhanced Layer 2 Software (ELS) to a version of Junos OS that supports ELS, we recommend performing the following procedure.
![]() | Note: Because this procedure can cause service outages, we recommend that you avoid performing this procedure on switches carrying traffic in a production network. |
- Log in to your device using the console port.

Note: Only perform this procedure from the console port. You can lose connectivity to your device if you perform this procedure from a management port or any other interface.
- Set your device to standalone mode by issuing the request chassis device-mode standalone command. Do not reboot
your system at this time.

Note: This step is only required for new devices shipped from the factory or QFabric system Node devices that you plan to redeploy in a QFX Series Virtual Chassis.
- Choose whether you wish to reuse your previous configuration
or not.
- To reuse your previous configuration as part of the software
upgrade, you must convert the configuration from the original style
Junos OS CLI to the ELS CLI format using the following steps:

Note: We recommend this procedure for customers currently using a QFX3500 or QFX3600 switch as a standalone device.
- Copy your entire existing configuration into a text file. Save the file to a remote location or USB drive.
- Retain the portion of your existing configuration related to management network connectivity (such as [edit system] and management interfaces). Delete all other configuration elements (such as the [edit protocols] and [edit vlans] hierarchy levels, non-management interfaces, and so on). Issue a commit operation to remove the deleted configuration.
- Perform the software upgrade with the validate option and reboot your device to complete the upgrade by issuing the request system software add validate reboot command. Maintain your console port connection during the reboot.
- Using a web browser, navigate to the ELS Translator Tool. Follow the instructions on the page to convert your saved configuration file to the new ELS CLI format.
- Return to your console port connection. When the switch has rebooted to complete the software upgrade, copy the configuration from the ELS Translator Tool and load it in to your switch.
- Issue a commit operation to activate the translated configuration.
- To delete your current configuration and upgrade the software,
follow these steps:

Note: We recommend this procedure for customers with new QFX3500 or QFX3600 devices shipped from the factory or QFabric system Node devices that will be redeployed in a QFX Series Virtual Chassis.
- Perform a software upgrade with the no-validate option by issuing the request system software add no-validate command.
- Delete the configuration and set the device to factory defaults by issuing the request system zeroize command. The device automatically reboots and reverts to a factory default configuration.
- Configure your device using the ELS CLI format.
- To reuse your previous configuration as part of the software
upgrade, you must convert the configuration from the original style
Junos OS CLI to the ELS CLI format using the following steps:
Related Documentation
- EX Series
- Overview of CoS Upgrade Requirements (Junos OS Release 11.1 or 11.2 to a Later Release)
- Software Installation Overview
- Recovering from a Failed Software Installation
- request system software add
- J Series
- request system software add
- M Series
- request system software add
- MX Series
- request system software add
- PTX Series
- request system software add
- QFabric System
- Overview of CoS Upgrade Requirements (Junos OS Release 11.1 or 11.2 to a Later Release)
- Software Installation Overview
- Upgrading Jloader Software on QFX Series Devices
- request system software add
- QFX Series
- Recovering from a Failed Software Installation
- QFX Series standalone switches
- Overview of CoS Upgrade Requirements (Junos OS Release 11.1 or 11.2 to a Later Release)
- Software Installation Overview
- Upgrading Jloader Software on QFX Series Devices
- request system software add
- SRX Series
- request system software add
- T Series
- request system software add
- Additional Information
- Installation and Upgrade Guide