policy (Event Policy)
Statement introduced in Junos OS Release 7.5.
Define an event policy to be processed by the eventd process. If you configure a policy, the events and then statements are mandatory.
You can configure multiple policies to be processed for an event. The policies are executed in the order in which they appear in the configuration. If you configure more than one policy for an event, and if one of the policies is configured to ignore the event, no policies that follow the policy with the ignore statement are executed.
If you do not configure a policy for an event, the event is recorded in the system log.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.