Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request system software add optional://auto-snapshot

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request system software add optional://auto-snapshot

Description

Activates the optional auto-snapshot package to generate a recovery snapshot after the next reboot. Issue this command before you upgrade the software. Then, when the device reboots after the software upgrade, the system automatically generates a recovery snapshot. Enabling auto-snapshot ensures a recovery image for the latest installed image.

Additional Information

The request system software add optional://auto-snapshot command activates the auto-snapshot package. Auto-snapshot performs a recovery snapshot during the next reboot, and stores the recovery snapshot on the OAM volume.

Enabling auto-snapshot on an active Routing Engine might extend the time for the next reboot. Auto-snapshot uses system resources only during this reboot to generate the recovery snapshot. In this way, it avoids resource contention with other applications, such as the routing protocol process (rpd).

You can verify the results of auto-snapshot with the show system snapshot command after the software installation completes.

Required Privilege Level

maintenance

Output Fields

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

Sample Output

request system software add optional://auto-snapshot

content_copy zoom_out_map
user@host> request system software add optional://auto-snapshot
Verified auto-snapshot signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256

show system snapshot

content_copy zoom_out_map
user@host> show system snapshot

No non-recovery snapshots available on the Junos volume

Recovery Snapshots:
Snapshots available on the OAM volume:
recovery.ufs
Date created: Sat Sep  3 15:33:10 CEST 2022
Junos version: 22.1-20220902.421

Total recovery snapshots: 1

Release Information

Command introduced in Junos OS Release 22.1R2.

footer-navigation