Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


matches (Event Policy)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 7.5.

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


Configure an event policy to trigger only if the specified attribute of event matches the regular expression.


event.attribute-nameEvent attribute to compare to a regular expression.
regular-expressionRegular expression to compare.

Required Privilege Level

maintenance—To view this statement in the configuration.

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