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

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.