Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

starts-with (Event Policy)

Syntax

Hierarchy Level

Description

Configure an event policy to trigger only if the event1 attribute value starts with the value of the event2 attribute. The referenced events must be either the trigger event or the correlating events 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

event1.attribute-name

Attribute of one event.

event2.attribute-name

Attribute of another event.

Required Privilege Level

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

Release Information

Statement introduced in Junos OS Release 7.5.