OSPF-TRAP-MIB :: ospfSetTrap

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsOSPF-TRAP-MIBospfSetTrap

ospfSetTrap

Module: OSPF-TRAP-MIB

OID (symbolic): OSPF-TRAP-MIB::ospfSetTrap

OID (numeric): 1.3.6.1.2.1.14.16.1.1

Node type: OBJECT-TYPE

Type: OCTET STRING

Access: read-write

Description: A 4-octet string serving as a bit map for the trap events defined by the OSPF traps. This object is used to enable and disable specific OSPF traps where a 1 in the bit field represents enabled. The right-most bit (least significant) represents trap 0.

This object is persistent and when written

the entity SHOULD save the change to non-volatile storage.

What is ospfSetTrap?

This is a 4-byte bitmap where each bit turns a specific OSPF trap type on or off, with the least-significant (rightmost) bit controlling trap 0 and so on for each additional trap type. An admin writes to this object to selectively enable only the OSPF traps they care about receiving, and because the setting is meant to be saved to non-volatile storage, the choice persists across reboots. For example, setting only the bit corresponding to a specific trap like 'virtual interface state change' while leaving the rest at zero would make the router send notifications for just that OSPF event.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.14.16.1.1
snmpwalk -v2c -c public <target> OSPF-TRAP-MIB::ospfSetTrap

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.14.16.1.1.1
snmpget -v2c -c public <target> OSPF-TRAP-MIB::ospfSetTrap.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.2.1.14.16.1.1.1 s <value>

Start monitoring vendor-neutral, standards-based MIB (OSPFv2 trap notifications, RFC 4750) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the OSPF-TRAP-MIB::ospfSetTrap OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB (OSPFv2 trap notifications, RFC 4750) from a single console.

OID Breakdown

Upper-level ancestors (9 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
1.3.6.1.2.1.14ospfMRVINREACH
1.3.6.1.2.1.14.16ospfAreaTableOSPF-MIB
1.3.6.1.2.1.14.16.1ospfAreaEntryOSPF-MIB
Numeric OIDNameModule
1.3.6.1.2.1.14.16.1.1ospfSetTrapOSPF-TRAP-MIB