Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Controlling Event Policy Using a Regular Expression

The following policy is executed only if the interface-name attribute in both traps (SNMP_TRAP_LINK_DOWN and SNMP_TRAP_LINK_UP) match each other and the interface-name attribute in the SNMP_TRAP_LINK_DOWN trap starts with letter t. This means the policy is executed only for T1 (t1-) and T3 (t3-) interfaces. The policy is not executed when the eventd process receives traps from other interfaces.

Note:

In system log files, the message tags appear in all uppercase letters. In the command-line interface (CLI), the message tags appear in all lowercase letters.