request vmhost software rollback
Syntax
Release Information
Command introduced in Junos OS Release 15.1F3 for the PTX5000, MX240, MX480, and MX960 routers.
Command introduced in Junos OS Release 15.1F5 for the MX2010 and MX2020 routers.
Command introduced in Junos OS Release 16.1R4 for the PTX3000 routers.
PTX3000 router supports the Routing and Control Board, RCBPTX.
Command introduced in Junos OS Release 17.1R1 for EX9200 switches.
Command introduced in Junos OS Release 17.3R1 for the MX10003 routers.
Command introduced in Junos OS Release 17.4R1 for the MX204 routers.
Command introduced in Junos OS Release 18.1R1 for the QFX10002-60C switch.
Command introduced in Junos OS Release 18.2R1 for the PTX10002-60C router.
Command introduced in Junos OS Release 18.2R1 for MX10008 router.
Statement introduced in Junos OS Release 19.2R1-S1 for the ACX5448-D routers and the ACX5448-M routers.
Description
Roll back the Junos OS and the host OS software packages to the previous versions. You can revert to the previous versions of software packages that were loaded at the last successful request vmhost software add command.
Options
none—Roll back the software packages of the Routing Engine on the local Virtual Chassis member.
The QFX10002-60C and PTX10002-60C devices do not have master and backup routing engines.
backup—Backup Routing Engine.
both—Both Routing Engines.
local—Routing Engine on the local Virtual Chassis member.
master—Master Routing Engine.
other—Other Routing Engine.
Required Privilege Level
maintenance
Related Documentation
List of Sample Output
request vmhost software rollbackOutput Fields
Sample Output
request vmhost software rollback
user@host> request vmhost software rollback
Current root details, Device sda, Label: jrootp_P, Partition: sda3 Finding alternate root for rollback Rollback to software on jrootb_P ... sh /etc/install/mk-mtre-rollback.sh jrootb_P b Mounting device in preparation for rollback... Updating boot partition for rollback... Rollback complete, please reboot the node for it to take effect. Cmos Write successfull Cmos Write successfull for Boot_retry Cmos Write successfull for Boot_retry
user@host> show vmhost version
Current root details, Device sda, Label: jrootp_P, Partition: sda3 Current boot disk: Primary Current root set: p UEFI Version: NGRE_v00.53.00.01 Primary Disk, Upgrade Time: Wed Feb 24 17:51:53 UTC 2016 Pending reboot. Version: set p VMHost Version: 2.951 VMHost Root: vmhost-x86_64-15.1I20160210_2212_builder VMHost Core: vmhost-core-x86_64-15.1I20160210_2212_builder kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt Junos Disk: junos-install-x86-64-15.1F5.5 Version: set b VMHost Version: 2.953 VMHost Root: vmhost-x86_64-15.1F520160222_1052_builder VMHost Core: vmhost-core-x86_64-15.1F520160222_1052_builder kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt Junos Disk: junos-install-x86-64-15.1F5.6
user@host> request vmhost reboot
Reboot the vmhost ? [yes,no] (no) yes warning: Rebooting re1 Initiating vmhost reboot... ok Initiating Junos shutdown... shutdown: [pid 9733] Shutdown NOW! ok Junos shutdown is in progress... *** FINAL System shutdown message from root@nikon1 *** System going down IMMEDIATELY
user@host> show vmhost version
Current root details, Device sda, Label: jrootb_P, Partition: sda4 Current boot disk: Primary Current root set: b UEFI Version: NGRE_v00.53.00.01 Primary Disk, Upgrade Time: Wed Feb 24 17:51:53 UTC 2016 Version: set p VMHost Version: 2.951 VMHost Root: vmhost-x86_64-15.1I20160210_2212_builder VMHost Core: vmhost-core-x86_64-15.1I20160210_2212_builder kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt Junos Disk: junos-install-x86-64-15.1F5.5 Version: set b VMHost Version: 2.953 VMHost Root: vmhost-x86_64-15.1F520160222_1052_builder VMHost Core: vmhost-core-x86_64-15.1F520160222_1052_builder kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt Junos Disk: junos-install-x86-64-15.1F5.6