Migration, Upgrade, and Downgrade Instructions
This section contains the procedure to upgrade or downgrade Junos OS and satellite software for a Junos Fusion Enterprise. Upgrading or downgrading Junos OS and satellite software might take several hours, depending on the size and configuration of the Junos Fusion Enterprise topology.
Basic Procedure for Upgrading Junos OS on an Aggregation Device
When upgrading or downgrading Junos OS for an aggregation device, always use the junos-install package. Use other packages (such as the jbundle package) only when so instructed by a Juniper Networks support representative. For information about the contents of the junos-install package and details of the installation process, see the Installation and Upgrade Guide.
Before upgrading, back up the file system and the currently active Junos OS configuration so that you can recover to a known, stable environment in case the upgrade is unsuccessful. Issue the following command:
The installation process rebuilds the file system and completely reinstalls Junos OS. Configuration information from the previous software installation is retained, but the contents of log files might be erased. Stored files on the routing platform, such as configuration templates and shell scripts (the only exceptions are the juniper.conf and ssh files), might be removed. To preserve the stored files, copy them to another system before upgrading or downgrading the routing platform. See the Junos OS Administration Library.
To download and install Junos OS Release 17.1R2:
- Using a Web browser, navigate to the Download Software URL on the Juniper Networks webpage:
- Log in to the Juniper Networks authentication system using the username (generally your e-mail address) and password supplied by Juniper Networks representatives.
- Select By Technology > Junos Platform > Junos Fusion to find the software that you want to download.
- Select the release number (the number of the software version that you want to download) from the Version drop-down list on the right of the page.
- Select the Software tab.
- Select the software package for the release.
- Review and accept the End User License Agreement.
- Download the software to a local host.
- Copy the software to the routing platform or to your internal software distribution site.
- Install the new junos-install package on the
aggregation device.
Note We recommend that you upgrade all software packages out of band using the console because in-band connections are lost during the upgrade process.
Customers in the United States and Canada, use the following commands.
user@host> request system software add validate reboot source/package-name
All other customers, use the following commands.
user@host> request system software add validate reboot source/package-name
Replace source with one of the following values:
/pathname
—For a software package that is installed from a local directory on the router.For software packages that are downloaded and installed from a remote location:
ftp://hostname/pathname
http://hostname/pathname
scp://hostname/pathname
(available only for Canada and U.S. version)
The validate option validates the software package against the current configuration as a prerequisite to adding the software package to ensure that the router reboots successfully. This is the default behavior when the software package being added is a different release.
Adding the reboot command reboots the router after the upgrade is validated and installed. When the reboot is complete, the router displays the login prompt. The loading process might take 5 to 10 minutes.
Rebooting occurs only if the upgrade is successful.
After you install a Junos OS Release 17.1R2 junos-install package, you cannot return to the previously installed software by issuing the request system software rollback command. Instead, you must issue the request system software add validate command and specify the junos-install package that corresponds to the previously installed software.
Upgrading from Junos OS Release 16.1 to 17.1 in a JUNOS OS Fusion Enterprise System
When the Junos Fusion Enterprise System includes clustered devices, use the following procedure to first upgrade the clustered devices to SNOS 3.0R1 and then upgrade the aggregation device from 16.1 to 17.1.
- Enable hop-by-hop forwarding for control-traffic the on
aggregation device using VTY commands.
- Start a shell on the aggregated device:
user@aggregation-device> start shell
- For each FPC which has cascade ports, start a VTY session.
For example:
root@aggregation-device% vty fpc1
- At the VTY prompt, enter the following command:
FPC1(aggregation-device vty)# set jnh ep stack-hostpath 0
- Start a shell on the aggregated device:
- Enable hop-by-hop forwarding for control-traffic on all
satellite devices in a cluster.
user@aggregation-device> request chassis satellite shell-command vty -c 'test sd-cluster hop-to-hop enable' range fpc-start fpc-end
- Update the satellite device cluster to the new image,
which must be SNOS 3.0R1 or higher.
user@aggregation-device> request system software add upgrade-group cluster-upgrade-group image-location
- Confirm all satellite devices are upgraded to the new
image.
user@aggregation-device> show chassis satellite upgrade-group upgrade-group-name
- Upgrade the aggregation device to the 17.1 image.
user@aggregation-device> request system software add aggregation-device-package-name
- To complete the upgrade, reboot the system, including
all satellite devices and aggregation device.
To reboot the satellite devices:
user@aggregation-device> request chassis satellite reboot range fpc-start fpc-end
To reboot the aggregation device:
user@aggregation-device> request system reboot
Upgrading an Aggregation Device with Redundant Routing Engines
If the aggregation device has two Routing Engines, perform a Junos OS installation on each Routing Engine separately to minimize disrupting network operations as follows:
Disable graceful Routing Engine switchover (GRES) on the master Routing Engine and save the configuration change to both Routing Engines.
Install the new Junos OS release on the backup Routing Engine while keeping the currently running software version on the master Routing Engine.
After making sure that the new software version is running correctly on the backup Routing Engine, switch over to the backup Routing Engine to activate the new software.
Install the new software on the original master Routing Engine that is now active as the backup Routing Engine.
For the detailed procedure, see the Installation and Upgrade Guide.
Preparing the Switch for Satellite Device Conversion
There are multiple methods to upgrade or downgrade satellite software in your Junos Fusion Enterprise. See Configuring or Expanding a Junos Fusion Enterprise.
For satellite device hardware and software requirements, see Understanding Junos Fusion Enterprise Software and Hardware Requirements.
Use the following command to install Junos OS on a switch before converting it into a satellite device:
user@host> request system software add validate
reboot source/package-name
The following conditions must be met before a Junos switch that is running Junos OS Release 17.1R2 can be converted to a satellite device when the action is initiated from the aggregation device:
The Junos switch can only be converted to SNOS 3.0 and later.
The Junos switch must be either set to factory default configuration using the request system zeroize command, or the following command must be included in the configuration: set chassis auto-satellite-conversion.
When the interim installation has completed and the switch is running a version of Junos OS that is compatible with satellite device conversion, perform the following steps:
- Log in to the device using the console port.
- Clear the device:
[edit]
user@satellite-device# request system zeroizeNote The device reboots to complete the procedure for resetting the device.
If you are not logged in to the device using the console port connection, your connection to the device is lost after you enter the request system zeroize command.
If you lose connection to the device, log in using the console port.
- (EX4300 switches only) After the reboot is complete, convert
the built-in 40-Gbps QSFP+ interfaces from Virtual Chassis ports (VCPs)
into network ports:
user@satellite-device> request virtual-chassis vc-port delete pic-slot 1 port port-number
For example, to convert all four built-in 40-Gbps QSFP+ interfaces on an EX4300-24P switch into network ports:
user@satellite-device>request virtual-chassis vc-port delete pic-slot 1 port 0
user@satellite-device> request virtual-chassis vc-port delete pic-slot 1 port 1
user@satellite-device> request virtual-chassis vc-port delete pic-slot 1 port 2
user@satellite-device> request virtual-chassis vc-port delete pic-slot 1 port 3This step is required for the 40-Gbps QSFP+ interfaces that will be used as uplink interfaces in a Junos Fusion topology. Built-in 40-Gbps QSFP+ interfaces on EX4300 switches are configured into VCPs by default, and the default settings are restored after the device is reset.
After this initial preparation, you can use one of three methods to convert your switches into satellite devices—autoconversion, manual conversion, or preconfiguration. See Configuring or Expanding a Junos Fusion Enterprise for detailed configuration steps for each method.
Converting a Satellite Device to a Standalone Switch
In the event that you need to convert a satellite device to a standalone device, you will need to install a new Junos OS software package on the satellite device and remove the satellite device from the Junos Fusion topology.
The following steps explain how to download software, remove the satellite device from the Junos Fusion, and install the Junos OS software image on the satellite device so that the device can operate as a standalone device.
- Using a Web browser, navigate to the Junos OS software download URL on the Juniper Networks webpage:
- Log in to the Juniper Networks authentication system using the username (generally your e-mail address) and password supplied by Juniper Networks representatives.
- Select By Technology > Junos Platform > Junos Fusion from the menu and select the switch platform series and model for your satellite device.
- Select the software image for your platform. For satellite device software requirements, see Understanding Junos Fusion Enterprise Software and Hardware Requirements.
- Review and accept the End User License Agreement.
- Download the software to a local host.
Copy the software to the routing platform or to your internal software distribution site.
- Remove the satellite device from the automatic satellite
conversion configuration.
If automatic satellite conversion is enabled for the satellite device’s member number, remove the member number from the automatic satellite conversion configuration. The satellite device’s member number is the same as the FPC slot ID.
[edit]
user@aggregation-device# delete chassis satellite-management auto-satellite-conversion satellite member-number
For example, to remove member number 101 from the Junos Fusion:
[edit]
user@aggregation-device# delete chassis satellite-management auto-satellite-conversion satellite 101
You can check the automatic satellite conversion configuration by entering the show command at the [edit chassis satellite-management auto-satellite-conversion] hierarchy level.
- Commit the configuration.
To commit the configuration to both Routing Engines:
[edit]
user@aggregation-device# commit synchronize
To commit the configuration to a single Routing Engine:
[edit]
user@aggregation-device# commit
- Install Junos OS on the satellite device to convert the
device to a standalone device.
[edit]
user@aggregation-device> request chassis satellite install URL-to-software-package fpc-slot member-number
For example, to install a software package stored in the
/var/tmp
directory on the aggregation device onto an EX4300 switch acting as the satellite device using FPC slot 102:[edit]
user@aggregation-device> request chassis satellite install /var/tmp/jinstall-ex-4300-14.1X53-D35.3-domestic-signed.tgz fpc-slot 102
The satellite device stops participating in the Junos Fusion topology once the software installation starts. The software upgrade starts after this command is entered.
- Wait for the reboot that accompanies the software installation to complete.
- When you are prompted to log back in to your device, uncable
the device from the Junos Fusion topology. See or Removing a Transceiver. Your device is
removed from the Junos Fusion.
Note The device uses a factory-default configuration after the Junos OS installation is complete.
Upgrade and Downgrade Support Policy for Junos OS Releases
Support for upgrades and downgrades that span more than three Junos OS releases at a time is not provided, except for releases that are designated as Extended End-of-Life (EEOL) releases. EEOL releases provide direct upgrade and downgrade paths—you can upgrade directly from one EEOL release to the next EEOL release even though EEOL releases generally occur in increments beyond three releases.
You can upgrade or downgrade to the EEOL release that occurs directly before or after the currently installed EEOL release, or to two EEOL releases before or after. For example, Junos OS Releases 15.1, 16.1 and 16.2 are EEOL releases. You can upgrade from Junos OS Release 15.1 to Release 16.1 or even from Junos OS Release 15.1 to Release 16.2. However, you cannot upgrade directly from a non-EEOL release that is more than three releases ahead or behind.
To upgrade or downgrade from a non-EEOL release to a release more than three releases before or after, first upgrade to the next EEOL release and then upgrade or downgrade from that EEOL release to your target release.
For more information about EEOL releases and to review a list of EEOL releases, see https://www.juniper.net/support/eol/junos.html.
Downgrading from Release 17.1
Junos Fusion Enterprise is first supported in Junos OS Release 16.1R1, although you can downgrade a standalone EX9200 switch to earlier Junos OS releases.
It is not recommended to downgrade the aggregation device from 17.1 to 16.1 if there are cluster satellite devices in the setup.
To downgrade a Junos Fusion Enterprise from Junos OS Release 17.1 to 16.1, you must first downgrade the satellite software version on the satellite devices from 3.0R1 to 2.0R1.
- Downgrade the satellite software on the satellite devices
from 3.0R1 to 2.0R1:
user@aggregation-device> request system software add satellite-2.0R1-signed.tgz no-validate upgrade-group cluster1
After the satellite devices are downgraded to satellite software 2.0R1, they will not show as being online until the aggregation device is downgraded to 16.1.
- Downgrade the aggregation device. Follow the procedure for upgrading, but replace the 17.1 junos-install package with one that corresponds to the appropriate release.
You cannot downgrade more than three releases.
For more information, see the Installation and Upgrade Guide.