Junos OS

Expand all | Collapse all

Upgrade MX204 to suggested release 18.2R3-S3

Jump to Best Answer
  • 1.  Upgrade MX204 to suggested release 18.2R3-S3

    Posted 05-08-2020 01:59

    Hello all,

     

    I'm trying to upgrade a Juniper MX204 to the suggested J-TAC software release 18.2R3-S3.

    I have downloaded the software from the Juniper website (junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz) and uploaded it to my MX204 in /var/tmp/usb

     

    The software checksum seems fine:

    admin@router> file checksum md5 /var/tmp/usb/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz

    MD5 (/var/tmp/usb/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz) = 10046234ff6bcac521070942f0b30da6

     

    But I keep getting an error when installing:

     

    admin@router> request vmhost software add /var/tmp/usb/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz

    Junos Validation begin. Procedure will take few minutes.

    ERROR:  Failed to extract vmhost bundle from /var/tmp/usb/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz

    warning: Host software installation has failed.

     

    admin@router> request system software add /var/tmp/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz

    warning: Package /var/tmp/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz not supported, please try vmhost command

     

    Also unzipping doesn't help: 

    admin@router> start shell user root

    Password:

    root@router:/var/home/admin # cd /var/tmp/

    root@router:/var/tmp # gunzip junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz

    root@router:/var/tmp # exit

    exit

     

    admin@router> request system software add /var/tmp/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img

    warning: Package /var/tmp/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img not supported, please try vmhost command

     

    admin@router> request vmhost software add /var/tmp/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img

    Junos Validation begin. Procedure will take few minutes.

    ERROR:  Failed to extract vmhost bundle from /var/tmp/junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img

    warning: Host software installation has failed.

     

    Any suggestions?



  • 2.  RE: Upgrade MX204 to suggested release 18.2R3-S3
    Best Answer

     
    Posted 05-08-2020 02:54

    Hello roelp,

     

    please note that if you want to upgrade the JUNOS by CLI, you need the following image:

     

    Install Package --> VMHost 64-Bit  ==  junos-vmhost-install-mx-x86-64-18.2R3-S3.11.tgz

     

    Then you can install the image by performing "request vmhost software add /var/tmp/junos-vmhost-install-mx-x86-64-18.2R3-S3.11.tgz"

     

    The command "request system software add" is deprecated on NG-RE platforms (like MX204), please don't use this command at all.

     

    The file "junos-vmhost-install-usb-mx-x86-64-18.2R3-S3.11.img.gz" you have downloaded is an "Install Media" file, which is only for performing a recovery installation with an USB device attached, if the JUNOS installation is corrupted and the device does not boot anymore.

     

    HTH