optional (Event Scripts)
Statement introduced in Junos OS Release 16.1.
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 not set, the event process (eventd) will validate the physical existence of event scripts during the commit process. This means that if a configured script is not physically accessible, the commit will fail.
If set, the event process (eventd) ignores missing event scripts during the commit process and proceeds with the commit. If the event script is present, but invalid, the commit fails.
By default, optional is not set. Event scripts are required to be accessible during commit operations.
Required Privilege Level
maintenance—To view this statement in
maintenance-control—To add this statement to the configuration.