[Contents] [Prev] [Next] [Index] [Report an Error]

trigger

Syntax

trigger (on number | after number | until number);

Hierarchy Level

[event-options policy policy-name within seconds]

Release Information

Statement introduced in JUNOS Release 8.4.

Description

Configure an event policy to be triggered if an event or set of events occurs N 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 number—The policy is executed when the number of matching events received equals number + 1.

on number—The policy is executed when the number of matching events received equals number.

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

Usage Guidelines

See Triggering a Policy Based on Event Count.

Required Privilege Level

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

 


[Contents] [Prev] [Next] [Index] [Report an Error]