Description

This article describes the procedure to upgrade a standalone or a VC structure of QFX5k and EX46k series switch without USB.

Solution

Verify the md5 checksum:


Before pushing the image into the device check the md5 value of the image with the following command:

 

root@switch> file checksum md5 /var/tmp/jinstall-host-qfx-5k-f-x86-64-18.1R2-S4.4-secure-signed.tgz
MD5 (/var/tmp/jinstall-host-qfx-5k-f-x86-64-18.1R2-S4.4-secure-signed.tgz) = c422a158a8e6658f50d1965d0664d253


Compare the above MD5 hash output with the MD5 hash provided on the Downloads page when the checksum is clicked. Verify both the values are identical, if both are not same then it confirms that the image has been corrupted and you need to download it again.


To upgrade the software, you can use the following methods:

 

Method 1: If the installation package resides locally on the switch, issue the request system software add <pathname><source> command.
 

  • For standalone device/ virtual chassis

user@switch> request system software add /var/tmp/jinstall-host-qfx-5-17.2R1.n-signed.tgz force-host no-validate

  • For upgrading single member in a VC

user@switch> request system software add /var/tmp/jinstall-host-qfx-5-17.2R1.n-signed.tgz force-host no-validate member 1


Method 2: If the Install Package resides remotely (ftp, tftp)

user@switch> request system software add ftp://ftpserver/directory/jinstall-host-qfx-5-17.2R1.n-signed.tgz force-host no-validate

user@switch> request system reboot


Please use either  "no-validate|validate-on-host|validate-on-routing-engine" option with the "request system software add" command when upgrading Junos OS based on FreeBSD 10 or lower (Junos 21.1 or earlier) to Junos OS version with FreeBSD 12 (Junos 21.2 or later). 

 

NOTE: 

 

  • Before you install the software, back up any critical files in /var/home.

  • On QFX5100, EX4600, EX4650 switches, the Host OS is not upgraded automatically, so you must use the force-host option if you want the Junos OS and Host OS versions to be the same.
     

Modification History

2024-09-18: added the reason for no-validate knob
2023-09-26: updated to include EX4650
2023-06-16: Initial publication

Related Information