Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

trigger

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 8.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 13.2X51-D10 for QFX Series switches.

Description

Configure an event policy to be triggered if 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-countThe policy is executed when the number of matching events received equals event-count + 1.
on event-countThe policy is executed when the number of matching events received equals event-count.
until event-countThe 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 this statement in the configuration.

maintenance-control—To add this statement to the configuration.