Supported Platforms
Related Documentation
- EX Series
- show chassis nonstop-upgrade
- Upgrading Software on an EX3300 Virtual Chassis, EX4200 Virtual Chassis, EX4500 Virtual Chassis, EX4550 Virtual Chassis, or Mixed Virtual Chassis Using Nonstop Software Upgrade (CLI Procedure)
- Upgrading Software on an EX6200 or EX8200 Standalone Switch Using Nonstop Software Upgrade (CLI Procedure)
- Upgrading Software on an EX8200 Virtual Chassis Using Nonstop Software Upgrade (CLI Procedure)
request system software nonstop-upgrade
Syntax
Release Information
Command introduced in Junos OS Release 10.4 for EX Series switches.
Option set [package-name package-name] added in Junos OS Release 12.1 for EX Series switches.
Description
Perform a nonstop software upgrade (NSSU) on a switch with redundant Routing Engines or on a Virtual Chassis. The behavior of this command depends on which switch or Virtual Chassis it is executed on:
- When you execute this command on an EX3300, EX4200, EX4500, or EX4550 Virtual Chassis, or a mixed Virtual Chassis composed of any combination of EX4200, EX4500, and EX4550 switches, all Virtual Chassis members are upgraded. The original Virtual Chassis backup becomes the master. The original master is automatically upgraded and rebooted and rejoins the Virtual Chassis after the upgrade completes.
- When you execute this command on an EX6200 or EX8200 switch,
both the backup and master Routing Engines are upgraded, with the
original backup Routing Engine becoming the new master at the end
of the upgrade.
The original master Routing Engine is automatically rebooted on an EX6200 switch.
The original master Routing Engine is not automatically rebooted on an EX8200 switch unless you specify the reboot option.
- When you execute this command on an EX8200 Virtual Chassis, all master and backup Routing Engines are upgraded in the Virtual Chassis, including the external Routing Engines. The original backup Routing Engines become the new master Routing Engines. The original master Routing Engines are not automatically rebooted, unless you specify the reboot option.
This command has the following requirements:
- All Virtual Chassis members and all Routing Engines must be running the same Junos OS release.
- Graceful Routing Engine switchover (GRES) must be enabled.
- Nonstop active routing (NSR) must be enabled.
Note: Although nonstop bridging (NSB) does not have to be enabled for you to use this command, we recommend that you enable NSB. Enabling NSB ensures that all NSB-supported Layer 2 protocols operate seamlessly during the Routing Engine switchover that is part of the NSSU. See Configuring Nonstop Bridging on EX Series Switches (CLI Procedure).
- The command must be executed from the master Routing Engine on a standalone switch or from the master 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 members (for EX3300, EX4200, EX4500, EX4550, and mixed Virtual Chassis) or on different line cards (for EX6200 and EX8200 switches, and for EX8200 Virtual Chassis).
- For EX3300, EX4200, EX4500, EX4550, and mixed 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 master and backup must be adjacent to each other in the ring topology. Adjacency permits the master and backup to always be in sync, even when the switches in linecard roles are rebooting.
- The Virtual Chassis must be preprovisioned so that the linecard role has been explicitly assigned to member switches acting in a linecard role. During an NSSU, the Virtual Chassis members must maintain their roles—the master and backup must maintain their Routing Engine roles (although mastership will change), and the remaining switches must maintain their linecard roles.
- A two-member Virtual Chassis must have no-split-detection configured so that the Virtual Chassis does not split when an NSSU upgrades a member.
Options
package-name | — | Location from which the software package or bundle is to be installed. For example:
|
set [package-name package-name] | — | (Mixed Virtual Chassis only) Locations of the EX4200 and the EX4500 installation packages. These packages must be for the same Junos OS release. See the description of the package-name option for information about how to specify the location of the installation packages. |
no-copy | — | (Optional) Install a software package or bundle, but do not save copies of package or bundle files. |
no-old-master-upgrade | — | (Optional) (Standalone EX8200 switches only) Upgrade the backup Routing Engine only. After the upgrade completes, the original master Routing Engine becomes the backup Routing Engine and continues running the previous software version. |
reboot | — | (Optional) (EX8200 switch and EX8200 Virtual Chassis only) When the reboot option is included, the original master (new backup) Routing Engines are automatically rebooted after being upgraded to the new software. When the reboot option is not included, you must manually reboot the original master (new backup) Routing Engines using the request system reboot command.
|
unlink | — | (Optional) Remove the software package after a successful upgrade is completed. |
Required Privilege Level
maintenance
Related Documentation
- EX Series
- show chassis nonstop-upgrade
- Upgrading Software on an EX3300 Virtual Chassis, EX4200 Virtual Chassis, EX4500 Virtual Chassis, EX4550 Virtual Chassis, or Mixed Virtual Chassis Using Nonstop Software Upgrade (CLI Procedure)
- Upgrading Software on an EX6200 or EX8200 Standalone Switch Using Nonstop Software Upgrade (CLI Procedure)
- Upgrading Software on an EX8200 Virtual Chassis Using Nonstop Software Upgrade (CLI Procedure)
List of 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)
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
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
Published: 2012-12-07
Supported Platforms
Related Documentation
- EX Series
- show chassis nonstop-upgrade
- Upgrading Software on an EX3300 Virtual Chassis, EX4200 Virtual Chassis, EX4500 Virtual Chassis, EX4550 Virtual Chassis, or Mixed Virtual Chassis Using Nonstop Software Upgrade (CLI Procedure)
- Upgrading Software on an EX6200 or EX8200 Standalone Switch Using Nonstop Software Upgrade (CLI Procedure)
- Upgrading Software on an EX8200 Virtual Chassis Using Nonstop Software Upgrade (CLI Procedure)