request system software nonstop-upgrade
Syntax
request system software nonstop-upgrade (package-name | set [package-name package-name]) <force-host> <no-copy> <no-old-master-upgrade> <reboot > <unlink>
Description
Perform a nonstop software upgrade (NSSU) on a switch with redundant Routing Engines or on a Virtual Chassis or Virtual Chassis Fabric (VCF). The behavior of this command depends on the type of switch, Virtual Chassis, or VCF where you run it, as follows:
-
When you run this command on any of the following Virtual Chassis or VCF configurations, NSSU upgrades all members of the Virtual Chassis:
-
EX3300, EX3400, EX4200, EX4300,EX4400, EX4500, EX4550, EX4600, or EX4650-48Y Virtual Chassis
-
Mixed Virtual Chassis composed of any combination of EX4200, EX4500, and EX4550 switches, or EX4300 and EX4600 switches
-
QFX3500 and QFX3600 Virtual Chassis
-
QFX5100 Virtual Chassis
-
QFX5120-48Y, QFX5120-48T or QFX5120-32C Virtual Chassis
-
Fixed configuration of switches in a VCF (QFX3500/QFX3600 and QFX5100 switches)
-
Mixed VCF composed of any combination of QFX3500/QFX3600, QFX5100, and EX4300 switches
The original Virtual Chassis or VCF backup becomes the primary. The new primary automatically upgrades and reboots the original primary, which then rejoins the Virtual Chassis or VCF as the backup.
-
When you run this command on an EX6200 or EX8200 switch, NSSU upgrades both the backup and primary Routing Engines. The original backup Routing Engine becomes the new primary at the end of the upgrade.
On an EX6200 switch, NSSU automatically reboots the original primary Routing Engine.
On an EX8200 switch, NSSU does not automatically reboot the original primary Routing Engine unless you specify the
reboot
option.
When you run this command on an EX8200 Virtual Chassis, NSSU upgrades all primary and backup Routing Engines in the Virtual Chassis, including the external Routing Engines. The original backup Routing Engines become the new primary Routing Engines. NSSU does not automatically reboot the original primary Routing Engines unless you specify the
reboot
option.
This command has the following requirements:
All Virtual Chassis members, VCF members, and all Routing Engines must be running the same Junos OS release.
You must enable Graceful Routing Engine switchover (GRES)..
You must enable Nonstop active routing (NSR).
Note:Although not required, we recommend you also enable nonstop bridging (NSB). NSB ensures that all NSB-supported Layer 2 protocols operate seamlessly during the Routing Engine switchover during NSSU. See Configuring Nonstop Bridging on EX Series Switches (CLI Procedure).
You must run the command from the primary Routing Engine on a standalone switch or from the primary on a Virtual Chassis.
For minimal traffic disruption, you must define link aggregation groups (LAGs) such that the member links reside on different Virtual Chassis or VCF member switches (or on different line cards for EX6200 and EX8200 switches and EX8200 Virtual Chassis).
For all Virtual Chassis (except EX8200 Virtual Chassis):
The Virtual Chassis members must be connected in a ring topology. A ring topology prevents the Virtual Chassis from splitting during an NSSU.
The Virtual Chassis primary and backup must be adjacent to each other in the ring topology. With adjacent placement, the primary and backup are always in sync while the switches in line-card roles are rebooting.
The Virtual Chassis must be preprovisioned so the line-card role is explicitly assigned to member switches acting in a line-card role. During an NSSU, the primary and backup member switches must maintain their Routing Engine roles (although the primary role switches to the backup), and the remaining switches must maintain their line-card roles.
In a two-member Virtual Chassis, you must configure
no-split-detection
so the Virtual Chassis doesn’t split during NSSU.
For Virtual Chassis Fabric:
You can only have two members preprovisioned in the Routing Engine role. If more than two Routing Engines are configured, NSSU issues a warning message and the NSSU process stops.
The VCF members should be connected in a spine and leaf topology. A spine and leaf topology prevents the VCF from splitting during NSSU. Each leaf device must be connected to both spine devices.
The VCF must be preprovisioned so that the line-card role has been explicitly assigned to member switches acting in a line-card role, and likewise the Routing Engine role has been explicitly assigned to the member switches acting in a Routing Engine role. During an NSSU, the primary and backup member switches must maintain their Routing Engine roles (although the primary role switches to the backup), and the remaining switches must maintain their line-card roles.
You must configure
no-split-detection
in a two-member VCF so the VCF does not split during NSSU.
Options
package-name | Location of the software package or bundle to be installed. For example:
Note:
The |
set [package-name package-name] | (Mixed Virtual Chassis only) Locations
of the different installation packages required by the different types
of member switches. These packages must be for the same Junos OS release.
See this command’s |
force-host | (Optional) Force adding the host software package or bundle (and ignore warnings) on EX4650, QFX5100, or QFX5120 devices. |
no-copy | (Optional) Install a software package or bundle, but do not save copies of the package or bundle files. |
no-old-master-upgrade | (Optional) (EX8200 switches only) Upgrade the backup Routing Engine only. After the upgrade completes, the original primary Routing Engine becomes the backup Routing Engine and continues running the previous software version. |
reboot | (Optional) (EX8200
switches and EX8200 Virtual Chassis only) When you include the Note:
If you do not use the |
unlink | (Optional) Remove the software package after a successful upgrade. |
Required Privilege Level
maintenance
Output Fields
This command reports feedback on the status of the request. Some functions are shared between NSSU and the in-service software upgrade (ISSU) feature, so you might see what appear to be ISSU messages as well as NSSU messages in the output from this command.
Sample Output
- request system software nonstop-upgrade (EX4200 Virtual Chassis)
- request system software nonstop-upgrade (EX6200 Switch)
- request system software nonstop-upgrade reboot (EX8200 Switch)
- request system software nonstop-upgrade no-old-master-upgrade (EX8200 Switch)
- request system software nonstop-upgrade reboot (EX8200 Virtual Chassis)
request system software nonstop-upgrade (EX4200 Virtual Chassis)
user@switch> request system software nonstop-upgrade /var/tmp/jinstall-ex-4200–12.1R5.5–domestic-signed.tgz Chassis ISSU Check Done ISSU: Validating Image ISSU: Preparing Backup RE Installing image on other FPC's along with the backup Checking pending install on fpc1 Pushing bundle to fpc1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc1 Checking pending install on fpc2 Pushing bundle to fpc2 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc2 Checking pending install on fpc3 Pushing bundle to fpc3 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc3 Checking pending install on fpc4 Pushing bundle to fpc4 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc4 Checking pending install on fpc5 Pushing bundle to fpc5 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc5 Checking pending install on fpc6 Pushing bundle to fpc6 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc6 Checking pending install on fpc7 Pushing bundle to fpc7 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Completed install on fpc7 Backup upgrade done Rebooting Backup RE Rebooting fpc1 ISSU: Backup RE Prepare Done Waiting for Backup RE reboot GRES operational Initiating Chassis In-Service-Upgrade Chassis ISSU Started ISSU: Preparing Daemons ISSU: Daemons Ready for ISSU ISSU: Starting Upgrade for FRUs ISSU: Preparing for Switchover ISSU: Ready for Switchover Checking In-Service-Upgrade status Item Status Reason FPC 0 Online FPC 1 Online FPC 2 Online (ISSU) FPC 3 Online (ISSU) FPC 4 Online (ISSU) FPC 5 Online (ISSU) FPC 6 Online (ISSU) FPC 7 Online (ISSU) Going to install image on master WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately relinquish mastership ISSU: IDLE *** FINAL System shutdown message from root@switch *** System going down IMMEDIATELY Shutdown NOW! [pid 9336]
request system software nonstop-upgrade (EX6200 Switch)
{master} user@switch> request system software nonstop-upgrade /var/tmp/jinstall-ex-6200–12.2R5.5–domestic-signed.tgz Chassis ISSU Check Done ISSU: Validating Image ISSU: Preparing Backup RE Pushing bundle to re0 NOTICE: Validating configuration against jinstall-ex-6200–12.2R5.5–domestic-signed.tgz. NOTICE: Use the 'no-validate' option to skip this if desired. WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Backup upgrade done Rebooting Backup RE Rebooting re0 ISSU: Backup RE Prepare Done Waiting for Backup RE reboot GRES operational Initiating Chassis In-Service-Upgrade Chassis ISSU Started ISSU: Preparing Daemons ISSU: Daemons Ready for ISSU ISSU: Starting Upgrade for FRUs ISSU: Preparing for Switchover ISSU: Ready for Switchover Checking In-Service-Upgrade status Item Status Reason FPC 0 Online (ISSU) FPC 1 Online (ISSU) FPC 2 Online (ISSU) FPC 3 Online (ISSU) FPC 4 Online FPC 5 Online FPC 6 Online (ISSU) FPC 7 Online (ISSU) FPC 8 Online (ISSU) FPC 9 Online (ISSU) Going to install image on master NOTICE: Validating configuration against jinstall-ex-6200–12.2R5.5–domestic-signed.tgz. NOTICE: Use the 'no-validate' option to skip this if desired. WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately relinquish mastership ISSU: IDLE Trying to relinquish mastership before rebooting... Resolving mastership... Complete. The other routing engine becomes the master. *** FINAL System shutdown message from user@switch *** System going down IMMEDIATELY
request system software nonstop-upgrade reboot (EX8200 Switch)
{master} user@switch> request system software nonstop-upgrade reboot /var/tmp/jinstall-ex-8200–10.4R1.5–domestic-signed.tgz Chassis ISSU Check Done ISSU: Validating Image ISSU: Preparing Backup RE Pushing bundle to re1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Backup upgrade done Rebooting Backup RE Rebooting re1 ISSU: Backup RE Prepare Done Waiting for Backup RE reboot GRES operational Initiating Chassis In-Service-Upgrade Chassis ISSU Started ISSU: Preparing Daemons ISSU: Daemons Ready for ISSU ISSU: Starting Upgrade for FRUs ISSU: Preparing for Switchover ISSU: Ready for Switchover Checking In-Service-Upgrade status Item Status Reason FPC 0 Online (ISSU) FPC 2 Offline Offlined by CLI command FPC 3 Online (ISSU) Resolving mastership... Complete. The other routing engine becomes the master. ISSU: RE switchover Done ISSU: Upgrading Old Master RE WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately ISSU: Old Master Upgrade Done ISSU: IDLE Shutdown NOW! [pid 2635] *** FINAL System shutdown message from user@switch *** System going down IMMEDIATELY
request system software nonstop-upgrade no-old-master-upgrade (EX8200 Switch)
{master} user@switch> request system software nonstop-upgrade no-old-master-upgrade /var/tmp/jinstall-ex-8200–10.4R1.5–domestic-signed.tgz Chassis ISSU Check Done ISSU: Validating Image ISSU: Preparing Backup RE Pushing bundle to re1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Backup upgrade done Rebooting Backup RE Rebooting re1 ISSU: Backup RE Prepare Done Waiting for Backup RE reboot GRES operational Initiating Chassis In-Service-Upgrade Chassis ISSU Started ISSU: Preparing Daemons ISSU: Daemons Ready for ISSU ISSU: Starting Upgrade for FRUs ISSU: Preparing for Switchover ISSU: Ready for Switchover Checking In-Service-Upgrade status Item Status Reason FPC 0 Online (ISSU) FPC 1 Online (ISSU) FPC 2 Online (ISSU) FPC 3 Offline Offlined by CLI command FPC 4 Online (ISSU) FPC 5 Online (ISSU) FPC 6 Online (ISSU) FPC 7 Online (ISSU) Resolving mastership... Complete. The other routing engine becomes the master. ISSU: RE switchover Done Skipping Old Master Upgrade ISSU: IDLE
request system software nonstop-upgrade reboot (EX8200 Virtual Chassis)
{master:9} user@external-routing-engine> request system software nonstop-upgrade reboot /var/tmp/jinstall-ex-xre200-11.1-20101130.0-domestic-signed.tgz Chassis ISSU Check Done ISSU: Validating Image ISSU: Preparing LCC Backup REs ISSU: Preparing Backup RE Pushing bundle /var/tmp/jinstall-ex-xre200-11.1-20101130.0-domestic-signed.tgz to member8 -------------------------------------------------------------------------- WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately VC Backup upgrade done Rebooting VC Backup RE Rebooting member8 ISSU: Backup RE Prepare Done Waiting for VC Backup RE reboot Pushing bundle to member0-backup Pushing bundle to member1-backup WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Rebooting member0-backup Rebooting LCC [member0-backup] Rebooting member1-backup Rebooting LCC [member1-backup] ISSU: LCC Backup REs Prepare Done GRES operational Initiating Chassis Nonstop-Software-Upgrade Chassis ISSU Started ISSU: Preparing Daemons ISSU: Daemons Ready for ISSU ISSU: Starting Upgrade for FRUs ISSU: Preparing for Switchover ISSU: Ready for Switchover Checking Nonstop-Upgrade status member0: -------------------------------------------------------------------------- Item Status Reason FPC 0 Online (ISSU) FPC 1 Online (ISSU) FPC 2 Online (ISSU) FPC 5 Online (ISSU) member1: -------------------------------------------------------------------------- Item Status Reason FPC 0 Online (ISSU) FPC 1 Offline Offlined due to config FPC 2 Online (ISSU) FPC 3 Online (ISSU) FPC 4 Online (ISSU) FPC 5 Online (ISSU) FPC 7 Online (ISSU) member0: -------------------------------------------------------------------------- Item Status Reason FPC 0 Online (ISSU) FPC 1 Online (ISSU) FPC 2 Online (ISSU) FPC 5 Online (ISSU) member1: -------------------------------------------------------------------------- Item Status Reason FPC 0 Online (ISSU) FPC 1 Offline Offlined due to config FPC 2 Online (ISSU) FPC 3 Online (ISSU) FPC 4 Online (ISSU) FPC 5 Online (ISSU) FPC 7 Online (ISSU) ISSU: Upgrading Old Master RE Pushing bundle /var/tmp/incoming-package-8200.tgz to member0-master Pushing bundle /var/tmp/incoming-package-8200.tgz to member1-master ISSU: RE switchover Done WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Rebooting ... shutdown: [pid 2188] Shutdown NOW! ISSU: Old Master Upgrade Done ISSU: IDLE Shutdown NOW! *** FINAL System shutdown message from root@ *** System going down IMMEDIATELY
Release Information
Command introduced in Junos OS Release 10.4.
Option set [package-name package-name]
added in Junos OS Release 12.1 for EX Series switches.