This article provides the step-by-step procedure for upgrading a mixed-mode Virtual Chassis that consists of EX4200 and EX4500 devices.
When attempting to upgrade a mixed-mode Virtual Chassis (EX4500 and EX4200), you will get an error message indicating that mixed-mode is detected and that in order to perform the upgrade, you need to use the set command to specify an EX4200 and an EX4500 image to upgrade.
set
{master:3} root@EX-VC> request system software add set /var/tmp/jinstall-ex-4200-15.1R7-S2-domestic-signed.tgz [Jul 10 07:02:29]: Retrieving software images. This process can take several minutes. Please be patient.. [Jul 10 07:02:29]: Mixed mode detected. Please use the request system software add with set command to specify an EX4200 and an EX4500 image to upgrade root@EX-VC> show virtual-chassis Virtual Chassis ID: b9ba.c8b5.4190 Virtual Chassis Mode: Mixed Mstr Mixed Route Neighbor List Member ID Status Serial No Model prio Role Mode Mode ID Interface 0 (FPC 0) Prsnt BR0210152622 ex4200-24f 254 Backup Y VC 1 vcp-0 1 (FPC 1) Prsnt GG0210399037 ex4500-40f 128 Linecard Y VC 0 vcp-1 2 vcp-0 2 (FPC 2) Prsnt CJ0213154681 ex4200-48t 128 Linecard Y VC 3 vcp-0 1 vcp-1 3 (FPC 3) Prsnt BR0209404763 ex4200-24f 255 Master* Y VC 2 vcp-1 Member ID for next new member: 4 (FPC 4)
Use the following example for the step-by-step upgrade procedure:
Copy both images to the VC from the Juniper Support site.
Verify that the packages are present in the desired directory:
{master:3} root@EX-VC> file list /var/tmp/ detail /var/tmp/: total blocks: 541000 drwxr-xr-x 2 root field 512 Jul 9 18:05 .schema-cache/ drwxrwxr-x 2 root wheel 512 Dec 31 2009 .snap/ drwxrwxrwx 2 root wheel 512 Dec 31 2009 install/ -rw-r--r-- 1 root field 138306987 Jul 10 05:41 jinstall-ex-4200-15.1R7-S2-domestic-signed.tgz -rw-r--r-- 1 root field 138522146 Sep 15 2018 jinstall-ex-4500-15.1R7-S2-domestic-signed.tgz
Use the following command to install the new packages: request system software add set [package (package)] .
request system software add set [package (package)]
{master:3} root@EX-VC> request system software add set [/var/tmp/jinstall-ex-4200-15.1R7-S2-domestic-signed.tgz /var/tmp/jinstall-ex-4500-15.1R7-S2-domestic-signed.tgz] [Jul 10 07:25:44]: Retrieving software images. This process can take several minutes. Please be patient.. Retrieving version and model information from /var/tmp/jinstall-ex-4200-15.1R7-S2-domestic-signed.tgz Retrieving version and model information from /var/tmp/jinstall-ex-4500-15.1R7-S2-domestic-signed.tgz Checking pending install on fpc1 Pushing bundle /var/tmp/jinstall-ex-4500-15.1R7-S2-domestic-signed.tgz to fpc1 Validating on fpc1 Done with validate of on VC members fpc1: Verify the signature of the new package Verified jinstall-ex-4500-15.1R7-S2-domestic.tgz signed by PackageProductionRSA_2018 method RSA2048+SHA1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Checking pending install on fpc0 Checking pending install on fpc2 Checking pending install on fpc3 Pushing bundle /var/tmp/jinstall-ex-4200-15.1R7-S2-domestic-signed.tgz to fpc0 Pushing bundle /var/tmp/jinstall-ex-4200-15.1R7-S2-domestic-signed.tgz to fpc2 Validating on fpc0 Validating on fpc2 Validating on fpc3 Done with validate of on VC members fpc0: Verify the signature of the new package Verified jinstall-ex-4200-15.1R7-S2-domestic.tgz signed by PackageProductionRSA_2018 method RSA2048+SHA1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately fpc2: Verify the signature of the new package Verified jinstall-ex-4200-15.1R7-S2-domestic.tgz signed by PackageProductionRSA_2018 method RSA2048+SHA1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately fpc3: Verify the signature of the new package Verified jinstall-ex-4200-15.1R7-S2-domestic.tgz signed by PackageProductionRSA_2018 method RSA2048+SHA1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately
Reboot all members to complete the installation.
root@EX-VC> request system reboot all-members at now Reboot the system at now? [yes,no] (no) yes Rebooting fpc0 Rebooting fpc1 Rebooting fpc2 Shutdown NOW! [pid 5176] {master:3} root@EX-VC> *** FINAL System shutdown message from root@EX-VC *** System going down IMMEDIATELY
Verify the new code on all Virtual Chassis members.
{master:3} root@EX-VC> show version fpc0: -------------------------------------------------------------------------- Hostname: EX-VC Model: ex4200-24f Junos: 15.1R7-S2 JUNOS EX Software Suite [15.1R7-S2] JUNOS FIPS mode utilities [15.1R7-S2] JUNOS Online Documentation [15.1R7-S2] JUNOS EX 4200 Software Suite [15.1R7-S2] JUNOS Web Management Platform Package [15.1R7-S2] fpc1: -------------------------------------------------------------------------- Hostname: EX-VC Model: ex4500-40f Junos: 15.1R7-S2 JUNOS EX Software Suite [15.1R7-S2] JUNOS FIPS mode utilities [15.1R7-S2] JUNOS Online Documentation [15.1R7-S2] JUNOS EX 4500 Software Suite [15.1R7-S2] JUNOS Web Management Platform Package [15.1R7-S2] fpc2: -------------------------------------------------------------------------- Hostname: EX-VC Model: ex4200-48t Junos: 15.1R7-S2 JUNOS EX Software Suite [15.1R7-S2] JUNOS FIPS mode utilities [15.1R7-S2] JUNOS Online Documentation [15.1R7-S2] JUNOS EX 4200 Software Suite [15.1R7-S2] JUNOS Web Management Platform Package [15.1R7-S2] fpc3: -------------------------------------------------------------------------- Hostname: EX-VC Model: ex4200-24f Junos: 15.1R7-S2 JUNOS EX Software Suite [15.1R7-S2] JUNOS FIPS mode utilities [15.1R7-S2] JUNOS Online Documentation [15.1R7-S2] JUNOS EX 4200 Software Suite [15.1R7-S2] JUNOS Web Management Platform Package [15.1R7-S2]