This is article explains how to upgrade the Personality change of QFX10002-60C and PTX10002-60C Devices
Please follow the below steps to do the Personality change.
Step 1 : In operational mode, verify the installed personality of the device.
user@host> show version
Hostname: host
Model: QFX10002-60C
Step 2 : Download the software package, Save the software package to the /var/path/package-name directory on the device. For example, you can save the software package to the /var/tmp directory.
Step 3 : In operational mode, install the software package by using the request vmhost software add path/package-name command. For example, to install the junos-vmhost-install-ptx-x86-64-zyx.tgz package:
user@host> request vmhost software add /var/tmp/junos-vmhost-install-ptx-x86-64-zyx.tgz no-validate
If you do not specify the no-validate option, the device displays the following error message error: Upgrading to a different model is supported only with no-validate option .
Step 4 : Run the show version command to verify that the upgrade is successful
Model: ptx10002-60C
Note : The new device comes up with a default image, sometimes if the personality change fails with the default code, try to upgraded the box with a newer code (First put the code under /var/tmp of the device), instead of using the default code comes up with the device.
You can follow the link https://www.juniper.net/documentation/us/en/software/junos/junos-install-upgrade/topics/topic-map/personality-upgrading.html