This article provides an example step-by-step procedure on upgrading a mixed-mode Virtual Chassis.
Although the steps to perform this task are fully documented in the Installing Software on a Mixed Virtual Chassis with EX4200, EX4500, and EX4550 Switches (CLI Procedure) technical documentation, this article provides an example.
USB
FTP
USB:
Format the USB drive to fat32 partition.
Copy the Junos file to USB.
Mount the USB on primary routing engine: root@:RE:0% mount_msdosfs /dev/da1s1 /mnt
root@:RE:0% mount_msdosfs /dev/da1s1 /mnt
Transfer the Junos file from USB to the /var/tmp directory of the primary member switch. Example: In the case of EX4300 and EX4600 mixed mode virtual-chassis
root@:RE:0% cp jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz /var/tmp root@:RE:0% cp jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz /var/tmp
Verify if the file is present in /var/tmp directory:
{master:0} root> file ls /var/tmp /var/tmp: jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz
Execute the below command to install software on all the members of the virtual chassis:
{master:0} root> request system software add set [/var/tmp/jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz /var/tmp/jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz]
[Mar 23 09:09:01]: Retrieving software images. This process can take several minutes. Please be patient.. Retrieving version and model information from /var/tmp/jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz Retrieving version and model information from /var/tmp/jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz Checking pending install on fpc1 Pushing bundle /var/tmp/jinstall-ex-4300-14.1X53-D40.8-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-4300-14.1X53-D40.8-domestic.tgz signed by PackageProductionRSA_2016 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Checking pending install on fpc0
Validating on fpc0 Done with validate of on VC members fpc0: Verified jinstall-vjunos-14.1X53-D40.8-domestic.tgz signed by PackageProductionSwitchingEc_2015 Verified jinstall-vjunos-14.1X53-D40.8-domestic.tgz signed by JuniperSwitchingProduction_2015 Adding vjunos... Saving contents of boot area prior to installation WARNING: This package will load JUNOS 14.1X53-D40.8 software. WARNING: It will save JUNOS configuration files, and SSH keys WARNING: (if configured), but erase all other files and information WARNING: stored on this machine. It will attempt to preserve dumps WARNING: and log files, but this can not be guaranteed. This is the WARNING: pre-installation stage and all the software is loaded when WARNING: you reboot the system. POST-INSTALL... Saving the config files ... NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-install Pushing installation package to host...
Reboot all the member switches once the installation is complete.
root> request system reboot all-members Reboot the system ? [yes,no] (no) yes
Verify the version once the switches come up after reboot.
{master:0} root> show version fpc0: -------------------------------------------------------------------------- Model: ex4600-40f Junos: 14.1X53-D40.8 JUNOS Base OS boot [14.1X53-D40.8] JUNOS Base OS Software Suite [14.1X53-D40.8] JUNOS Online Documentation [14.1X53-D40.8] JUNOS Crypto Software Suite [14.1X53-D40.8] JUNOS Kernel Software Suite [14.1X53-D40.8] JUNOS Packet Forwarding Engine Support (qfx-ex-x86-32) [14.1X53-D40.8] JUNOS Routing Software Suite [14.1X53-D40.8] JUNOS SDN Software Suite [14.1X53-D40.8] JUNOS Web Management Platform Package [14.1X53-D40.8] JUNOS Enterprise Software Suite [14.1X53-D40.8] JUNOS py-base-i386 [14.1X53-D40.8] JUNOS Host Software [14.1X53-D27.3] fpc1: -------------------------------------------------------------------------- Model: ex4300-48t Junos: 14.1X53-D40.8 JUNOS EX Software Suite [14.1X53-D40.8] JUNOS FIPS mode utilities [14.1X53-D40.8] JUNOS Online Documentation [14.1X53-D40.8] JUNOS EX 4300 Software Suite [14.1X53-D40.8] JUNOS Web Management Platform Package [14.1X53-D40.8] JUNOS py-base-powerpc [14.1X53-D40.8]
FTP:
Enable FTP on the switch.
Root#set system services ftp
Upload the software package to /var/tmp/ using FTP application.
Verify the software in /var/tmp/
{master:0} root> file ls /var/tmp /var/tmp: jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz
Execute the below command to install software on all the members of the virtual chassis: root> request system software add set [/var/tmp/jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz /var/tmp/jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz]
root> request system software add set [/var/tmp/jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz /var/tmp/jinstall-ex-4600-14.1X53-D40.8-domestic-signed.tgz]
Note: The upgrade procedure for QFX5100/EX4300 and EX4200/EX45XX mixed mode virtual-chassis is the same.
Example:
{master:0} root> request system software add set [/var/tmp/jinstall-ex-4300-14.1X53-D40.8-domestic-signed.tgz /var/tmp/jinstall-qfx-5-14.1X53-D40.8-domestic-signed.tgz] {master:0} root> request system software add set [/var/tmp/jinstall-ex-4200-11.1R1.8-domestic-signed.tgz /var/tmp/jinstall-ex-4500-11.1R1.8-domestic-signed.tgz]
2021-03-26: Updated the article terminology to align with Juniper's Inclusion & Diversity initiatives. 2017-12-04: Modified 'Note' in the Solution section to accommodate the EX4200/EX45XX family, along with the command in the example.