attribute




help topic
[edit protocols evpn]
jcluser@vMX1-GW# help topic event-options attributes-match 
Using Regular Expressions to Refine the Set of Events That Cause a Policy to Be
                                    Executed

   You can use regular expression matching to specify more exactly which
   events cause a policy to be executed.

   To specify the text string that must appear in an event attribute for the
   policy to be executed, include the matches statement at the [edit
   event-options policy policy-name attributes-match] hierarchy level, and
   specify the regular expression which the event attribute must match:

   [edit event-options policy policy-name attributes-match]

   event.attribute-name matches regular-expression;

   When you specify the regular expression, use the notation defined in POSIX
   Standard 1003.2 for extended (modern) UNIX regular expressions. Explaining
   regular expression syntax is beyond the scope of this document. Regular
   Expression Operators for the matches Statement specifies which character
   or characters are matched by some of the regular expression operators that
   you can use in the matches statement. In the descriptions, the term term
   refers to either a single alphanumeric character or a set of characters
   enclosed in square brackets, parentheses, or braces.

          +---------------------------------------------------------+
          |  | Note: The matches statement is not case-sensitive.   |
          +---------------------------------------------------------+



   Table 17: Regular Expression Operators for the matches Statement

   Operator                  Matches