Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request vmhost snapshot

Syntax

Description

Create a recovery snapshot of the currently running and active file system partitions on the backup disk to recover the primary disk in case of failure.

On the device, back up the snapshot of the host OS image along with the Junos OS image. In case of failure of the primary disk, you can boot from the image available in the backup disk and then recover the primary disk with the snapshot created using the recovery option.

Options

none—Create a snapshot from the current disk to the target disk without partitioning the target disk. Contents on target disk is lost.

partition

(Optional) Create a snapshot from the current disk to target disk and partition the target disk. Contents on the target disk are lost

re0 | re1

(Optional) Create a snapshot from the current disk to target disk and partition the target disk on Routing Engine in slot 0 (re0) or on the Routing Engine in slot 1 (re1). The snapshot is taken without partitioning the target disk on corresponding Routing Engines. Contents on the target disk on the Routing Engines are lost.

For PTX1000 routers, since there is only one RE, re0|re1 is not supported.

Note:

The QFX10002-60C and PTX10002-60C devices do not have primary and backup routing engines.

recovery

(Optional) Recover the primary disk from the snapshot content stored in the backup disk. This option is applicable only when the Routing engine is booted from backup disk. Contents in the primary disk are lost.

routing-engine

(Optional) Specify the Routing Engine on which the snapshot is to be created. The following options are available:

  • backup—Backup Routing Engine.

  • both—Both Routing Engines.

  • local—Routing Engine on the local Virtual Chassis member.

  • master—Primary Routing Engine.

  • other—Other Routing Engine.

Required Privilege Level

maintenance

Sample Output

request vmhost snapshot

request vmhost snapshot recovery

Release Information

Command introduced in Junos OS Release 15.1F3.

Note:

PTX3000 router supports the Routing and Control Board, RCBPTX.