optional (Commit Scripts)
Syntax
optional;
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.
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.