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

optional (Commit Scripts)

date_range 07-May-24

Syntax

content_copy zoom_out_map
optional;

Hierarchy Level

content_copy zoom_out_map
[edit system scripts commit file filename]

Description

Allow a commit operation to succeed even if the commit script specified in the file statement is missing from the appropriate commit script directory on the device.

Note:

Commit scripts are stored on a device’s hard disk in the /var/db/scripts/commit directory or on the flash drive in the /config/scripts/commit directory. On the QFabric system, commit scripts are stored in the /pbdata/mgd_shared/partition-ip/var/db/scripts/commit/ directory on the Director device.

Default

If you do not include the optional statement for a commit script, the commit operation fails if that script is absent from the commit script directory.

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 7.4.

footer-navigation