Supported Platforms
policy (Event Policy)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 7.5.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
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 to ignore the event, no policies that follow the ignore statement are executed.
Default
If you do not configure a policy for an event, the event is recorded in the system log.
Options
policy-name | — | Name of an event policy. |
The statements are explained separately.
Required Privilege Level
maintenance—To view this
statement in the configuration.
maintenance-control—To
add this statement to the configuration.