Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

optional (Event Scripts)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 16.1.

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 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.

Default

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 the configuration.

maintenance-control—To add this statement to the configuration.

Related Documentation