Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    trigger

    Syntax

    trigger (on | after | until) event-count;

    Hierarchy Level

    [edit event-options policy policy-name within seconds]

    Release Information

    Statement introduced in Junos OS Release 8.4.

    Statement introduced in Junos OS Release 9.0 for EX 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-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 this statement in the configuration.
    maintenance-control—To add this statement to the configuration.

    Published: 2013-03-05