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

clear system commit prepared

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear system commit prepared

Description

Clear the prepared commit. This initiates cleanup of the saved database data structures and the necessary files that are generated as a result of the commit preparation stage and unlinks the pending activation file. A log message is generated upon successful clearing of the pending commit.

Options

This command has no options.

Required Privilege Level

Maintenance (or the actual user who scheduled the commit)

Output Fields

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

Sample Output

clear system commit prepared

content_copy zoom_out_map
user@host> clear system commit prepared             
Prepared commit cleared.

clear system commit prepared (None Prepared)

content_copy zoom_out_map
user@host> clear system commit prepared             
No commit prepared.

Release Information

Command introduced in Junos OS Release 17.3.

footer-navigation