Guidelines for Creating Additional Filters for Interface Groups

The Additional Filters Editor enables you to create expressions to further define the interfaces to be included in an Interface Group. Make sure to design any complex Additional Filters offline as a Boolean expression first. This method can help to minimize errors when entering your expressions using the Additional Filters Editor.

When creating any Additional Filters for an Interface Group, note the following:

  • Each set of expressions associated with a Boolean Operator is treated as if it were enclosed in parentheses and evaluated together. View the expression displayed under Filter String to see the logic of the expression as it is created.
  • When using the AND operator to combine expressions that include Custom Attributes, include only one customAttrName/customAttrValue pair in a sub-expression.
  • The AND and OR Boolean Operators must contain at least two expressions as shown in the example below.

    AND
       ifName like ATMS*
       ifName != ATMS/0/A
        OR
           ifSpeed = 10000000
           ifSpeed = 100000000

    Note As shown in the example above, you must use the actual ifSpeed number.

    NNMi evaluates the expression above as follows:

    (ifName like ATMS* AND ifName != ATMS/0/A) AND (ifSpeed = 10000000 OR ifSpeed = 100000000)

    • NNMi finds all interfaces with an (interface name) ifName that begins with ATMS, but does not include ATMS/0/A.
    • Of these interfaces, NNM then finds all interfaces with an (interface speed) ifSpeed of 10 Mbps or 100 Mbps.

  • The placement of your cursor and the subsequent text that is selected is important when performing operations using the Additional Filters Editor. For example, you append to or replace, the expression that is selected.
  • The placement of your cursor and the subsequent text that is selected is especially important when adding your Boolean operators. See Add Boolean Operators in the Additional Filters Editor for more information.
  • You can drag any of the following items to a new location in the Filter String:

    • Filter Editor Options: AND, OR, NOT, EXISTS, NOT EXISTS
    • Filter Expression (Attribute, Operator and Value)
  • When moving items in the Filter String, note the following:

    • Click the item you want to move before dragging it to a new location.
    • As you drag a selected item, an underline indicates the target location.
    • If you are moving the selection up, NNMi places the item above the target location.
    • If you are moving the selection down, NNMi places the item below the target location.
    • If you attempt to move the selection to an invalid target location, NNMi displays an error message.