Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

SNAP SHOT IN EX

0

0

Article ID: KB16326 KB Last Updated: 07 Jan 2010Version: 1.0
Summary:

Symptoms:
This article provides a complete reference for the "snapshot" feature for the  EX-series Switch
Solution:

The snapshot feature is supported from release 10.0


The purpose of the snapshot is to save a copy  of the current Junos software and configuration on an alternate device. If the device is booted from the internal flash , then snapshot will backup the internal flash to a specified alternate media (e.g. USB) .If booted from external device then snapshot will backup to internal flash

Example of the device that was booted through internal flash attempts to snapshot to same internal flash will throw the below error:

EX8200:

root> request system snapshot media internal re0 slice alternate
re0:
--------------------------------------------------------------------------

error: cannot snapshot to current boot device


root> request system snapshot media internal re0 slice 1
re0:
--------------------------------------------------------------------------
error: cannot snapshot to current boot device

root> request system snapshot media internal re0 slice 2
re0:
--------------------------------------------------------------------------
error: cannot snapshot to current boot device

root> request system snapshot media internal slice alternate
error: cannot snapshot to current boot device

NOTE: Since the device was booted through internal flash we are seeing the above error message "cannot snapshot to current boot device"


External snapshot:
Procedure to take a snapshot from internal flash to external media (ie: USB drive)


EX8200:

root> request system snapshot media external partition re0
re0:
--------------------------------------------------------------------------
Clearing current label...
Partitioning external media (da1) ...
Verifying compatibility of destination media partitions...
Running newfs (715MB) on external media / partition (da1s1a)...
Running newfs (216MB) on external media /config partition (da1s1e)...
Running newfs (476MB) on external media /var partition (da1s1f)...
Copying '/dev/da0s1a' to '/dev/da1s1a' .. (this may take a few minutes)
Copying '/dev/da0s1e' to '/dev/da1s1e' .. (this may take a few minutes)
Copying '/dev/da0s1f' to '/dev/da1s1f' .. (this may take a few minutes)
The following filesystems were archived: / /config /var

It copies the Juno’s and current config file to an external media (USB)

Commands:

root> request system snapshot media external partition re0
root> request system snapshot media external partition re1


Note: For the EX8200 the commands are always local to a particular RE. Therefore make sure to connect the USB drive to right RE. In case both RE’s are selected then the external USB drive should be on both RE’s
           For the EX4200 the snapshot command is local to a particular system therefore make sure to connect the USB drive to correct FPC. In case all members are selected then the external USB disk should be on all the VC members

For snapshot, it is required to have at least the same size external media as internal. Minimum external USB storage size on EX82xx is 2GB for EX4200 1G
  

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search