TechLibrary

Navigation Back up to About Overview

request system snapshot

Syntax

request system snapshot<as-primary><all-members | local | member member-id><media (external | internal)><partition><re0 | re1 | routing-engine routing-engine-id><slice (1 | 2 | alternate)>

Release Information

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

Description

Take a snapshot of the files currently used to run the 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 copy all of these files into an alternate (internal, meaning internal flash, or an external, meaning USB flash) memory source.

Options

none

Create a snapshot on the alternate media, meaning the external media if you booted the switch using software stored on internal media or internal media if you booted the switch using software stored on external media.

all-members | local | member member-id

(EX4200 switch only) (Optional) Specify where to place the snapshot in Virtual Chassis configurations:

  • all-members—Create a snapshot for each switch that is a member of the Virtual Chassis.
  • local—Create a snapshot on the local switch only.
  • member member-id—Create a snapshot for the specified member or member switches of the Virtual Chassis.
as-primary

(Optional) Create a bootable snapshot.

Note: The snapshot is always bootable on EX Series switches. The as-primary option has no effect on snapshots on EX Series switches.

media (external | internal)

(Optional) Specify the destination media location for the snapshot. The external option copies the snapshot to an external mass storage device, such as a USB flash drive. The internal option copies the snapshot to an internal memory source, such as internal flash memory.

partition

(Optional) Partition the destination media before copying over the snapshot.

re0 | re1 | routing-engine routing-engine-id

(EX8200 switch only) Specify where to place the snapshot in dual Routing Engine configurations.

  • re0—Create a snapshot on Routing Engine 0.
  • re1—Create a snapshot on Routing Engine 1.
  • routing-enginerouting-engine-id—Create a snapshot on the specified Routing Engine.
slice ( 1 | 2 | alternate)

(Optional) Specify the destination partition for the snapshot:

  • 1—Copy the snapshot to partition 1.
  • 2—Copy the snapshot to partition 2.
  • alternate—Copy the snapshot to the alternate partition, which is the partition that did not boot the switch at the last bootup.

Required Privilege Level

view

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system snapshot media external slice 1

user@switch> request system snapshot media external slice 1

Published: 2011-03-02