Supported Platforms
Example: Upgrading Junos OS in a Virtual Chassis Configuration for MX Series 3D Universal Edge Routers
You can upgrade an MX Series Virtual Chassis configuration from Junos OS Release 11.2 to a later release. This upgrade procedure assumes that both member routers in the Virtual Chassis have dual Routing Engines installed.
![]() | Note: Make sure all four Routing Engines in the Virtual Chassis (both Routing Engines in the master router and both Routing Engines in the backup router) are running the same Junos OS release. |
This example describes how to upgrade Junos OS in a Virtual Chassis consisting of two MX Series routers, each of which has dual Routing Engines:
Requirements
This example uses the following software and hardware and components:
- Junos OS Release 11.2
- One MX240 3D Universal Edge Router with dual Routing Engines
- One MX480 3D Universal Edge Router with dual Routing Engines
See Table 1 for information about the hardware installed in each MX Series router.
Overview and Topology
To upgrade Junos OS in an MX Series Virtual Chassis configuration, you must:
- Prepare for the upgrade.
- Install the Junos OS software package on each of the four Routing Engines.
- Reboot the Routing Engines to run the new Junos OS release.
- Re-enable graceful Routing Engine switchover and nonstop active routing.
This example upgrades Junos OS in an MX Series Virtual Chassis configuration that uses the basic topology shown in Figure 1. For redundancy, each member router is configured with two Virtual Chassis ports.
Figure 1: Sample Topology for a Virtual Chassis with Two MX Series Routers

Table 1 shows the hardware and software configuration settings for each MX Series router in the Virtual Chassis.
Table 1: Components of the Sample MX Series Virtual Chassis
Router Name | Hardware | Serial Number | Member ID | Role | Virtual Chassis Ports | Network Port Slot Numbering |
---|---|---|---|---|---|---|
gladius | MX240 router with:
| JN10C7135AFC | 0 | routing-engine (master) | vcp-2/2/0 | FPC 0 – 11 |
trefoil | MX480 router with:
| JN115D117AFB | 1 | routing-engine (backup) | vcp-2/0/0 | FPC 12 – 23 (offset = 12) |
Configuration
To upgrade Junos OS in a Virtual Chassis configuration consisting of two MX Series routers, each with dual Routing Engines, perform these tasks:
- Preparing for the Upgrade
- Installing the Junos OS Software Package on Each Routing Engine
- Rebooting the Routing Engines to Run the New Junos OS Release
- Re-enabling Graceful Routing Engine Switchover and Nonstop Active Routing
Preparing for the Upgrade
Step-by-Step Procedure
To prepare for the upgrade process:
- Use FTP or a Web browser to download the Junos OS software
package to the master Routing Engine on the Virtual Chassis master
router (member0-re0).
See Downloading Software in the Installation and Upgrade Guide.
- Disable nonstop active routing on the master router.
{master:member0-re0}[edit routing-options]
user@gladius# delete nonstop-routing
- Disable graceful Routing Engine switchover on the master
router.
{master:member0-re0}[edit chassis redundancy]
user@gladius# delete graceful-switchover
- Commit the configuration on the master router.
{master:member0-re0}[edit system]
user@gladius# commit synchronize
- Exit CLI configuration mode.
{master:member0-re0}[edit]
user@gladius# exit
Installing the Junos OS Software Package on Each Routing Engine
Step-by-Step Procedure
Installing the Junos OS software package on each Routing Engine in an MX Series Virtual Chassis prepares the Routing Engines to run the new software release after a reboot. This action is also referred to as arming the Routing Engines.
To install the Junos OS software package on all four Routing Engines from the master router (member0-re0) in the Virtual Chassis:
- Install the software package on member0-re0.
This command also propagates the software package to member1-re0.
{master:member0-re0}
user@gladius> request system software add package-name
For example:
{master:member0-re0}
user@gladius> request system software add jinstall-11.2R1-8-domestic-signed.tgz
- Install the software package on member0-re1.
{master:member0-re0}
user@gladius> request system software add package-name re1
- Install the software package on member1-re1.
{master:member0-re0}
user@gladius> request system software add package-name member 1 re1
Results
Display the results of the installation. Verify that the correct software package has been installed on the local master Routing Engine in member 0 (member0-re0) and on the local master Routing Engine in member 1 (member1-re0).
{master:member0-re0}
user@gladius> show version
member0: ------------------------------------- Hostname: gladius Model: mx240 . . . JUNOS Installation Software [11.2R1-8] member1: ------------------------------------- Hostname: trefoil Model: mx480 . . . JUNOS Installation Software [11.2R1-8]
Rebooting the Routing Engines to Run the New Junos OS Release
Step-by-Step Procedure
To reboot each of the four Routing Engines in an MX Series Virtual Chassis from the Virtual Chassis master router (member0-re0):
- Reboot member1-re1.
{master:member0-re0}
user@gladius> request system reboot member 1 other-routing-engine
- Reboot member0-re1.
{master:member0-re0}
user@gladius> request system reboot other-routing-engine
- Reboot both master Routing Engines (member0-re0 and member1-re0).
{master:member0-re0}
user@gladius> request system reboot all-members
This command reboots all line cards in member 0 (gladius) and member 1 (trefoil) to use the new Junos OS release. A traffic disruption occurs until all line cards are back online and the Virtual Chassis re-forms.
Re-enabling Graceful Routing Engine Switchover and Nonstop Active Routing
Step-by-Step Procedure
After upgrading the Junos OS release, you need to re-enable graceful Routing Engine switchover and nonstop active routing for the Virtual Chassis.
To re-enable graceful Routing Engine switchover and nonstop active routing from the Virtual Chassis master router (member0-re0):
- In the console window on member 0 (gladius), enable graceful Routing Engine switchover on the master router.
{master:member0-re0}[edit chassis redundancy]
user@gladius# set graceful-switchover
- Re-enable nonstop active routing on the master router.
{master:member0-re0}[edit routing-options]
user@gladius# set nonstop-routing
- Commit the configuration on the master router.
{master:member0-re0}[edit system]
user@gladius# commit synchronize