Configuring the Trap Notification Filter
SNMPv3 uses the notify filter to define which traps (or which objects from which traps) are sent to the network management system (NMS). The trap notification filter limits the type of traps that are sent to the NMS.
Each object identifier represents a subtree of the MIB object hierarchy. The subtree can be represented either by a sequence of dotted integers (such as 1.3.6.1.2.1.2) or by its subtree name (such as interfaces). You can also use the wildcard character asterisk (*) in the object identifier (OID) to specify object identifiers that match a particular pattern.
To configure the trap notifications filter, include the notify-filter statement at the [edit snmp v3] hierarchy level:
profile-name is the name assigned to the notify filter.
By default, the OID is set to include. To define access to traps (or objects from traps), include the oid statement at the [edit snmp v3 notify-filter profile-name] hierarchy level:
oid is the object identifier. All MIB objects represented by this statement have the specified OID as a prefix. It can be specified either by a sequence of dotted integers or by a subtree name.
- include—Include the subtree of MIB objects represented by the specified OID.
- exclude—Exclude the subtree of MIB objects represented by the specified OID.
Related Topics
- Configuring SNMPv3 Traps on a Device Running Junos OS
- Configuring the SNMPv3 Trap Notification
- Configuring the Trap Target Address
- Defining and Configuring the Trap Target Parameters
- Configuring SNMP Informs
- Complete SNMPv3 Configuration Statements
- Minimum SNMPv3 Configuration on a Device Running Junos OS
