Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


request system software add optional://auto-snapshot



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


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

show system snapshot

Release Information

Command introduced in Junos OS Release 22.1R2.