request vmhost software add
MX Series
request vmhost software add package-name <no-validate> <re0 | re1> <reboot> <set [package-names]>
PTX Series
request vmhost software add package-name <in> <log_collector.sh> <no-validate> <reboot> <set [package-names]> <unlink> <upgrade-to-model>
Description
Install Junos OS and host software packages on the device.
For installing the host software as well as Junos OS, specify the package name
junos-vmhost-install-x.tgz in the
request vmhost software add
command. Junos OS installation
alone can be achieved by specifying the regular package name
junos-install-x.tgz in the
request system software add
command. However, installation
using the vmhost package is recommended as it upgrades both the host software and
Junos OS.
To upgrade to Junos OS Release 21.2R1, you must include the
no-validate
option when using this command to install the
package.
You must load the PTX1000, PTX10008, PTX10016, PTX10002-60C, and QFX10002-60C
devices only with
junos-vmhost-install-x.tgz package
using the request vmhost software add
command. The
junos-vmhost-install-x.tgz
package upgrades both the host software and Junos OS. The PTX1000, PTX10008,
PTX10016, PTX10002-60C, and QFX10002-60C devices do not support Junos only
upgrade. If you try to load Junos only image, then these devices go down or
vmhost commands do not work or the device state is unpredictable.
Options
none—Install Junos OS and host software packages on the Routing Engine on the local Virtual Chassis member.
package-name | Location from which the software package or bundle is to be installed. For example:
Note:
|
no-validate |
(Optional) When loading a software package or bundle with a different
release, suppress the default behavior of the To upgrade to Junos OS Release 21.2R1, you must include the
|
re0 | re1 | (Optional)
Load a software package or bundle on the Routing Engine in slot 0
( Note:
The option |
reboot | (Optional) After adding the software package or bundle, reboot the system. |
set [package-names] |
(Optional) |
Additional Information
Before upgrading the software on the
device, when you have a known stable system, issue the request
vmhost snapshot
command to back up the software. After you have
upgraded the software on the device and are satisfied that the new
package or bundle is successfully installed and running, issue the request vmhost snapshot
command again to back up the new software
to the backup disk.
After you run the request vmhost snapshot
command,
you cannot return to the previous version of the snapshot, because
the previous snapshot is replaced by the new snapshot.
Before installing software on a device that has one or more custom YANG data models added to it, back up and remove the configuration data corresponding to the custom YANG data models from the active configuration. For more information see Managing YANG Packages and Configurations During a Software Upgrade or Downgrade.
Required Privilege Level
maintenance
Sample Output
request vmhost software add (Multiple Packages)
user@host> request vmhost software add set [/var/tmp/junos-vmhost-install-ptx-x86-64-15.1F-20160518.0.tgz /var/tmp/junos-vmhost-jdiag-15.1F-20160518.0.tgz no-validate Verified /var/tmp/junos-vmhost-install-ptx-x86-64-15.1F-20160518.0.tgz signed by PackageDevelopmentEc_2016 Copied the config and other data to the aux disk. Transfer junos-host-upgrade.sh Transfer Done Transfer /packages/db/pkginst.7286/junos-vmhost-install*.tgz Transfer Done Starting upgrade... Preparing for upgrade... /tmp/pkg-1dX/unpack/install/ ... ... ..
Release Information
Command introduced in Junos OS Release 15.1F3.
PTX3000 router supports the Routing and Control Board, RCBPTX.