Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

trigger (Event Policy)

Syntax

Hierarchy Level

Description

Configure an event policy to trigger when an event or set of events occurs event-count times within a specified time period.

Default

If you do not include this statement, the policy is executed on receipt of the first configured event.

Options

after event-count

The policy is executed when the number of matching events received equals event-count + 1.

on event-count

The policy is executed when the number of matching events received equals event-count.

until event-count

The policy is executed each time a matching event is received and stops being executed when the number of matching events received equals event-count.

Required Privilege Level

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

Release Information

Statement introduced in Junos OS Release 8.4.