optional (Event Scripts)
Syntax
optional;
Hierarchy Level
[edit event-options event-script]
Description
For Junos OS event scripts, globally indicate the physical presence of the scripts as optional to allow commits to proceed if they are missing. Scripts can be missing, for example, if the primary storage on the device running Junos OS becomes corrupted.
If you do not configure the optional
statement, the event process (eventd)
validates the physical existence of event scripts during the commit process. If a
configured script is not physically accessible, the commit fails.
If you configure the optional
statement, the event process (eventd) ignores
missing event scripts during the commit process
and proceeds with the commit. If an event script
is present but invalid, the commit fails.
Default
By default, optional is not set. Event scripts are required to be accessible during commit operations.
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 16.1.