Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

matches (Event Policy)

Syntax

Hierarchy Level

Description

Configure an event policy to trigger only if the specified attribute of event matches the regular expression. The referenced event must be either the trigger event or a correlating event included in the event policy’s within statements.

An attributes-match statement can include multiple comparison statements. The system evaluates multiple comparison statements using a logical AND operator. Thus, to execute the event policy, all of the attributes-match conditions must evaluate to true.

Options

event.attribute-name

Event attribute to compare to a regular expression.

regular-expression

Regular expression to compare.

Required Privilege Level

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

Release Information

Statement introduced in Junos OS Release 7.5.