---
title: "Trigger-Filters"
canonical: "https://docs.infoblox.com/space/NCSG/23199911/Trigger-Filters"
format: markdown
---
# Trigger-Filters

**Used** **In:** Trigger sections   
**Status:** Optional

The `Trigger-Filter`s attribute is used to determine if `Trigger-Commands` and `Output-Triggers` attributes in the Triggers section of the script should run. If no `Trigger-Filter` exists, the script runs for every match identified by the `Trigger-Templat`e.

`Trigger-Filters` can contain Script, Trigger and SET variables and apply to every template match instance.

**Example**

`Trigger-Filter:`

`$adminMode ne "trunk" and $operMode ne "trunk`"

**Example**

In this case, a match is made with a boolean OR:

`Trigger-Filter:`

`$ifName eq "FastEthernet0/0" |`  
` $ifName eq "FastEthernet0/1"`