OSPF-TRAP-MIB

MIB Reference — IPNetwork Monitor

All MIBsOSPF-TRAP-MIB

Organization: IETF OSPF Working Group

Last Updated: 2006-11-10

Category: Routing Protocols

Description:

Defines SNMP trap notifications for OSPF routing protocol events, enabling monitoring of OSPF state changes, neighbor transitions, and error conditions.

Imported Objects

From OSPF-MIB

ospfMODULE-IDENTITY
ospfAddressLessIf
ospfAreaIdOBJECT-TYPE
ospfAreaNssaTranslatorStateOBJECT-TYPE
ospfExtLsdbLimitOBJECT-TYPE
ospfIfIpAddress
ospfIfState
ospfLsdbAreaId
ospfLsdbLsid
ospfLsdbRouterId
ospfLsdbType
ospfNbrAddressLessIndex
ospfNbrIpAddr
ospfNbrRestartHelperAge
ospfNbrRestartHelperExitReason
ospfNbrRestartHelperStatus
ospfNbrRtrId
ospfNbrState
ospfRestartExitReason
ospfRestartInterval
ospfRestartStatus
ospfRouterIdOBJECT-TYPE
ospfVirtIfAreaId
ospfVirtIfNeighbor
ospfVirtIfState
ospfVirtNbrArea
ospfVirtNbrRestartHelperAge
ospfVirtNbrRestartHelperExitReason
ospfVirtNbrRestartHelperStatus
ospfVirtNbrRtrId
ospfVirtNbrState

From SNMPv2-CONF

MODULE-COMPLIANCE
NOTIFICATION-GROUP
OBJECT-GROUP

From SNMPv2-SMI

IpAddress
MODULE-IDENTITY
NOTIFICATION-TYPE
OBJECT-TYPE

What Is OSPF-TRAP-MIB?

OSPF-TRAP-MIB is a vendor-neutral IETF standards-track module (RFC 4750) that defines SNMP trap notifications for the OSPF version 2 routing protocol, complementing the base OSPF-MIB's polled objects with asynchronous event reporting. It covers fault and state-change events such as neighbor state transitions, interface state changes, virtual-interface issues, and various OSPF protocol error conditions (e.g., configuration errors, retransmissions, bad packets). Its role in monitoring is squarely about software/protocol fault detection—alerting operators in near real time when an OSPF neighbor goes down, an interface changes state, or a routing/configuration error occurs, rather than exposing physical hardware counters. It directly depends on the base OSPF-MIB (RFC 4750 companion) for the object definitions referenced by its trap varbinds, and on the standard SNMP notification framework (SNMPv2-CONF/NOTIFICATION-TYPE); compiling the OSPF-TRAP-MIB MIB alongside the base OSPF-MIB is a prerequisite for any management station that wants to receive these standardized OSPF trap notifications. It is deployed on OSPF-speaking routers in enterprise and service-provider IP networks where administrators want proactive alerts on routing protocol instability rather than relying solely on polling.

IPNetwork Monitor allows you to monitor SNMP objects defined in OSPF-TRAP-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.

What Can Be Monitored

  • OSPF neighbor state-change events
  • OSPF interface state-change events
  • OSPF configuration/protocol error events

Supported Devices

  • vendor-neutral, standards-based MIB, not tied to a specific manufacturer
  • OSPF-speaking routers and Layer 3 switches

Monitoring Examples

The sample_objects for this MIB (ospfTrapConformance, ospfTrapGroups, ospfTrapCompliances) are conformance/compliance statement objects, so this batch doesn't evidence specific trap varbind names from real data. In actual deployment, an administrator would configure a trap receiver to catch OSPF neighbor state-change and interface state-change notifications defined by this MIB (per RFC 4750) to be alerted the moment an adjacency drops or an interface flaps, rather than waiting for the next polling cycle. Given the limited sample, specific trap object names beyond the conformance groups can't be confirmed from this data.

OIDs
OID symbolicOID numericTypeAccessDescription
ospfTrap1.3.6.1.2.1.14.16The MIB module to describe traps for the OSPF Version 2 Protocol. Copyright (C) The IETF Trust (2006). This version of this MIB module is part of RFC 4750; see the RFC itself for full legal notices.
ospfTrapControl1.3.6.1.2.1.14.16.1
OCT ospfSetTrap1.3.6.1.2.1.14.16.1.1OCTET STRINGread-writeA 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.
INT ospfConfigErrorType1.3.6.1.2.1.14.16.1.2INTEGERread-onlyPotential types of configuration conflicts. Used by the ospfConfigError and ospfConfigVirtError traps. When the last value of a trap using this object is needed, but no traps of that type have been sent, this value pertaining to this object should be returned as noError.
INT ospfPacketType1.3.6.1.2.1.14.16.1.3INTEGERread-onlyOSPF packet types. When the last value of a trap using this object is needed, but no traps of that type have been sent, this value pertaining to this object should be returned as nullPacket.
IP ospfPacketSrc1.3.6.1.2.1.14.16.1.4IpAddressread-onlyThe IP address of an inbound packet that cannot be identified by a neighbor instance. When the last value of a trap using this object is needed, but no traps of that type have been sent, this value pertaining to this object should be returned as 0.0.0.0.
ospfTraps1.3.6.1.2.1.14.16.2
NTF ospfVirtIfStateChange1.3.6.1.2.1.14.16.2.1An ospfVirtIfStateChange trap signifies that there has been a change in the state of an OSPF virtual interface. This trap should be generated when the interface state regresses (e.g., goes from Point-to-Point to Down) or progresses to a terminal state (i.e., Point-to-Point).
NTF ospfNbrStateChange1.3.6.1.2.1.14.16.2.2An ospfNbrStateChange trap signifies that there has been a change in the state of a non-virtual OSPF neighbor. This trap should be generated when the neighbor state regresses (e.g., goes from Attempt or Full to 1-Way or Down) or progresses to a terminal state (e.g., 2-Way or Full). When an neighbor transitions from or to Full on non-broadcast multi-access and broadcast networks, the trap should be generated by the designated router. A designated router transitioning to Down will be noted by ospfIfStateChange.
NTF ospfVirtNbrStateChange1.3.6.1.2.1.14.16.2.3An ospfVirtNbrStateChange trap signifies that there has been a change in the state of an OSPF virtual neighbor. This trap should be generated when the neighbor state regresses (e.g., goes from Attempt or Full to 1-Way or Down) or progresses to a terminal state (e.g., Full).
NTF ospfIfConfigError1.3.6.1.2.1.14.16.2.4An ospfIfConfigError trap signifies that a packet has been received on a non-virtual interface from a router whose configuration parameters conflict with this router's configuration parameters. Note that the event optionMismatch should cause a trap only if it prevents an adjacency from forming.
NTF ospfVirtIfConfigError1.3.6.1.2.1.14.16.2.5An ospfVirtIfConfigError trap signifies that a packet has been received on a virtual interface from a router whose configuration parameters conflict with this router's configuration parameters. Note that the event optionMismatch should cause a trap only if it prevents an adjacency from forming.
NTF ospfIfAuthFailure1.3.6.1.2.1.14.16.2.6An ospfIfAuthFailure trap signifies that a packet has been received on a non-virtual interface from a router whose authentication key or authentication type conflicts with this router's authentication key or authentication type.
NTF ospfVirtIfAuthFailure1.3.6.1.2.1.14.16.2.7An ospfVirtIfAuthFailure trap signifies that a packet has been received on a virtual interface from a router whose authentication key or authentication type conflicts with this router's authentication key or authentication type.
NTF ospfIfRxBadPacket1.3.6.1.2.1.14.16.2.8An ospfIfRxBadPacket trap signifies that an OSPF packet has been received on a non-virtual interface that cannot be parsed.
NTF ospfVirtIfRxBadPacket1.3.6.1.2.1.14.16.2.9An ospfVirtIfRxBadPacket trap signifies that an OSPF packet has been received on a virtual interface that cannot be parsed.
NTF ospfTxRetransmit1.3.6.1.2.1.14.16.2.10An ospfTxRetransmit trap signifies than an OSPF packet has been retransmitted on a non-virtual interface. All packets that may be retransmitted are associated with an LSDB entry. The LS type, LS ID, and Router ID are used to identify the LSDB entry.
NTF ospfVirtIfTxRetransmit1.3.6.1.2.1.14.16.2.11An ospfVirtIfTxRetransmit trap signifies than an OSPF packet has been retransmitted on a virtual interface. All packets that may be retransmitted are associated with an LSDB entry. The LS type, LS ID, and Router ID are used to identify the LSDB entry.
NTF ospfOriginateLsa1.3.6.1.2.1.14.16.2.12An ospfOriginateLsa trap signifies that a new LSA has been originated by this router. This trap should not be invoked for simple refreshes of LSAs (which happens every 30 minutes), but instead will only be invoked when an LSA is (re)originated due to a topology change. Additionally, this trap does not include LSAs that are being flushed because they have reached MaxAge.
NTF ospfMaxAgeLsa1.3.6.1.2.1.14.16.2.13An ospfMaxAgeLsa trap signifies that one of the LSAs in the router's link state database has aged to MaxAge.
NTF ospfLsdbOverflow1.3.6.1.2.1.14.16.2.14An ospfLsdbOverflow trap signifies that the number of LSAs in the router's link state database has exceeded ospfExtLsdbLimit.
NTF ospfLsdbApproachingOverflow1.3.6.1.2.1.14.16.2.15An ospfLsdbApproachingOverflow trap signifies that the number of LSAs in the router's link state database has exceeded ninety percent of ospfExtLsdbLimit.
NTF ospfIfStateChange1.3.6.1.2.1.14.16.2.16An ospfIfStateChange trap signifies that there has been a change in the state of a non-virtual OSPF interface. This trap should be generated when the interface state regresses (e.g., goes from Dr to Down) or progresses to a terminal state (i.e., Point-to-Point, DR Other, Dr, or Backup).
NTF ospfNssaTranslatorStatusChange1.3.6.1.2.1.14.16.2.17An ospfNssaTranslatorStatusChange trap indicates that there has been a change in the router's ability to translate OSPF type-7 LSAs into OSPF type-5 LSAs. This trap should be generated when the translator status transitions from or to any defined status on a per-area basis.
NTF ospfRestartStatusChange1.3.6.1.2.1.14.16.2.18An ospfRestartStatusChange trap signifies that there has been a change in the graceful restart state for the router. This trap should be generated when the router restart status changes.
NTF ospfNbrRestartHelperStatusChange1.3.6.1.2.1.14.16.2.19An ospfNbrRestartHelperStatusChange trap signifies that there has been a change in the graceful restart helper state for the neighbor. This trap should be generated when the neighbor restart helper status transitions for a neighbor.
NTF ospfVirtNbrRestartHelperStatusChange1.3.6.1.2.1.14.16.2.20An ospfVirtNbrRestartHelperStatusChange trap signifies that there has been a change in the graceful restart helper state for the virtual neighbor. This trap should be generated when the virtual neighbor restart helper status transitions for a virtual neighbor.
ospfTrapConformance1.3.6.1.2.1.14.16.3
ospfTrapGroups1.3.6.1.2.1.14.16.3.1
ospfTrapControlGroup1.3.6.1.2.1.14.16.3.1.1These objects are required to control traps from OSPF systems.
ospfTrapEventGroup1.3.6.1.2.1.14.16.3.1.2A grouping of OSPF trap events, as specified in NOTIFICATION-TYPE constructs.
ospfTrapCompliances1.3.6.1.2.1.14.16.3.2
ospfTrapCompliance1.3.6.1.2.1.14.16.3.2.1The compliance statement.
ospfTrapCompliance21.3.6.1.2.1.14.16.3.2.2The compliance statement.

FAQ

Why would I load OSPF-TRAP-MIB alongside the base OSPF-MIB when monitoring a router network?
OSPF-MIB gives you polled OSPF objects, but OSPF-TRAP-MIB adds asynchronous notifications for OSPF version 2 events -- neighbor state transitions, interface state changes, virtual-interface issues, and protocol errors like bad packets or configuration mismatches. Loading it lets your management station get alerted the moment an OSPF neighbor drops or an interface changes state, instead of only discovering the problem on the next poll cycle.

What kinds of events actually trigger notifications defined in OSPF-TRAP-MIB?
The traps cover routing-protocol fault and state-change conditions: an OSPF neighbor transitioning to a different state, an interface (including virtual interfaces) changing operational state, and various OSPF error conditions such as configuration errors, retransmissions, or malformed packets. It's aimed at proactive alerting on routing instability on OSPF-speaking routers and Layer 3 switches, not at physical hardware counters.

RFC description

Defines SNMP trap notifications and events for OSPF routing protocol state changes, neighbor relationships, and adjacency events as specified in RFC 6549.

Start monitoring vendor-neutral, standards-based MIB (OSPFv2 trap notifications, RFC 4750) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

Download OSPF-TRAP-MIB