Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

policy (Event Policy)

Syntax

Hierarchy Level

Description

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.

Default

If you do not configure a policy for an event, no actions are taken upon receipt of the event, which is recorded in the system log.

Options

policy-name

Name of an event policy.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 7.5.