Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Creating a Snapshot and Using It to Boot a QFX Series Switch

The system snapshot feature takes a “snapshot” of the files currently used to run the QFX Series switch—the complete contents of the /config and /var directories, which include the running Juniper Networks Junos OS, the active configuration, and the rescue configuration—and copies all of these files into an alternate (internal, meaning internal flash, or an external, meaning USB flash) memory source. You can then use these snapshots to boot the switch at the next bootup or as a backup boot option.

This topic includes the following tasks:

Creating a Snapshot on a USB Flash Drive and Using It to Boot the Switch

A snapshot can be created on USB flash memory after a switch is booted using files stored in internal memory.

Ensure that you have the following tools and parts available before creating a snapshot on a USB Flash drive:

To create a snapshot on USB flash memory and use it to boot the switch:

  1. Place the snapshot into USB flash memory:
    user@switch> request system snapshot partition

    Note: This example uses the partition option. If you have already created a partition for the snapshot, you don’t need to use the partition option.

  2. (Optional) Perform this step if you want to boot the switch now using the snapshot stored on the external USB flash drive. If you created the snapshot as a backup, do not perform this step.
    • To reboot the switch using the most recently created snapshot:
    • To reboot the switch using a snapshot in a specific partition on the USB flash drive:
      user@switch> request system reboot slice 1

Creating a Snapshot on an Internal Flash Drive and Using it to Boot the Switch

A snapshot can be created on internal memory after a switch is booted using files stored in external memory.

To create a snapshot in internal memory and use it to boot the switch:

  1. Place the snapshot files in internal memory:
    user@switch> request system snapshot partition

    Note: This example uses the partition option. If you have already created a partition for the snapshot, you don’t need to use the partition option.

  2. (Optional) Perform this step if you want to boot the switch now using the newly created snapshot. If you created the snapshot as a backup, do not perform this step.
    • To reboot the switch using the most recently created snapshot:
    • To reboot the switch using a snapshot in a specific partition in internal memory:
      user@switch> request system reboot slice 1

Published: 2013-08-15