Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show system auto-snapshot

 

Syntax

Release Information

Command introduced in Junos OS Release 12.3 for EX Series switches.

Command introduced in Junos OS Release 12.1X45-D10 for SRX Series devices.

Description

Display automatic snapshot status information. When the automatic snapshot feature is enabled and the system reboots from the alternate root partition, the switch automatically takes a snapshot of the root file system in the alternate root partition and copies it onto the primary root partition. This automatic snapshot procedure takes place whenever the system reboots from the alternate partition, regardless of whether the reboot from the alternate partition is due to a command or due to a corruption of the primary partition.

Options

This command has no options.

Required Privilege Level

view

List of Sample Output

show system auto-snapshot

Output Fields

Table 1 describes the output fields for the show system auto-snapshot command. Output fields are listed in the approximate order in which they appear.

Table 1: show system auto-snapshot status Output Fields

Field Name

Field Description

Auto-snapshot configuration

Status of the configuration:

  • Enabled—If the system reboots from the alternate partition, the automatic snapshot feature automatically takes a snapshot of the alternate partition and copies it onto the primary partition.

  • Disabled—The system does not automatically take a snapshot of the alternate partition. You must use the manual snapshot command, request system snapshot, to take a snapshot of one partition and copy it onto the other.

Auto-snapshot state

Status of the automatic snapshot procedure:

  • Completed—The automatic snapshot procedure has completed copying the alternate partition to the primary partition and the alarm has been cleared.

  • Disabled—The automatic snapshot procedure is inactive.

  • In progress—The automatic snapshot procedure is in progress. It takes about 10 to 15 minutes to complete, depending upon disk size.

Sample Output

show system auto-snapshot

user@switch> show system auto-snapshot