request vmhost software rollback
语法
request vmhost software rollback <re0 | re1> <routing-engine>
描述
将 Junos OS 和主机 OS 软件包回滚到以前的版本。您可以恢复到上次成功 request vmhost software add
命令加载的软件包的先前版本。
选项
none — 在本地虚拟机箱成员上回滚路由引擎的软件包。
re0 | re1 | (可选)在支持双路由引擎或冗余路由引擎的设备上,回滚插槽 0 (
注意:
QFX10002-60C 和 PTX10002-60C 设备没有主路由引擎和备用路由引擎。 |
routing-engine | (可选)指定软件包需要回滚到前一组软件包的路由引擎。以下选项可用:
|
所需权限级别
维护
输出字段
示例输出
请求 VMhost 软件回滚
request vmhost software rollback <reboot>
命令名称
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
发布信息
在 Junos OS 15.1F3 版中引入的命令。
注意:
PTX3000路由器支持路由和控制板 RCBPTX。