Configure an SNMP Notify Filter Table

Configure the notify table to select management targets to receive notifications, as well as the type of notification to send to each management target.

Before you begin

  • For more information about the notify filter table, see RFC3413.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Create a new notify filter table:

    snmp-server notify-filter WORD<1-32> WORD<1-32>

  3. Ensure that the configuration is correct:

    show snmp-server notify-filter

Example

Switch:1(config)#snmp-server notify-filter profile3 99.3.6.1.6.3.1.1.4.1
Switch:1(config)#show snmp-server notify-filter 

================================================================================
                          Notify Filter Configuration
================================================================================
Profile Name                     Subtree                           Mask                
--------------------------------------------------------------------------------
profile1                         +99.3.6.1.6.3.1.1.4.1             0x7f                
profile2                         +99.3.6.1.6.3.1.1.4.1             0x7f                
profile3                         +99.3.6.1.6.3.1.1.4.1             0x7f     

Variable Definitions

The following table defines parameters for the snmp-server notify-filter command.

Variable

Value

WORD<1-32> WORD<1-32>

Creates a notify filter table.

The first instance of WORD<1-32> specifies the name of the filter profile with a string length of 1–32.

The second instance of WORD<1-32> identifies the filter subtree OID with a string length of 1–32.

If the subtree OID parameter uses a plus sign (+) prefix (or no prefix), this indicates include. If the subtree OID uses the minus sign ( – ) prefix, it indicates exclude.

You do not calculate the mask because it is automatically calculated. You can use the wildcard character, the asterisk (*), to specify the mask within the OID. You do not need to specify the OID in the dotted decimal format; you can alternatively specify that the MIB parameter names and the OIDs are automatically calculated.