Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

auto-snapshot

Syntax

auto-snapshot;

Hierarchy Level

[edit system]

Release Information

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

Description

Enable the automatic snapshot feature, which allows the switch to automatically fix a corrupt Junos OS file in the primary root partition. If the automatic snapshot feature is enabled, the switch automatically takes a snapshot of the Junos OS root file system in the alternate root partition and copies it onto the primary root partition, thereby repairing the corrupt file in the primary root partition. The automatic snapshot procedure takes place whenever the system reboots from the alternate root partition, regardless of whether the reboot is due to a command or due to corruption of the primary root partition.

Note: EX9200 switches do not support the automatic snapshot feature.

Default

  • The automatic snapshot feature is enabled by default on the following EX Series switches:
    • EX4550 switches
    • EX Series switches that ship with Junos OS Release 12.3R1 or later
  • The automatic snapshot feature is disabled by default on EX Series switches (except the EX4550 switches) running Junos OS Release 12.2 or earlier.
  • If the automatic snapshot feature was disabled by default before the switch was upgraded to Junos OS Release 12.3R1 or later, the feature remains disabled (for backward compatibility) by default after the upgrade.

Required Privilege Level

system—To view this statement in the configuration.
system-control—To add this statement to the configuration.

Published: 2013-09-09