OSPF-MIB

MIB Reference — IPNetwork Monitor

All MIBsOSPF-MIB

Organization: IETF OSPF Working Group

Last Updated: 2006-10-24

Category: Network Interfaces, Routing Protocols

Description:

Defines managed objects for managing the Open Shortest Path First (OSPF) routing protocol, including areas, interfaces, neighbors, and link-state database information.

Imported Objects

From SNMPv2-CONF

MODULE-COMPLIANCE
OBJECT-GROUP

From SNMPv2-SMI

Counter32
Gauge32
Integer32
IpAddress
MODULE-IDENTITY
OBJECT-TYPE
mib-2

From SNMPv2-TC

RowStatus
StorageType
TEXTUAL-CONVENTION
TruthValue

What Is OSPF-MIB?

OSPF-MIB (RFC 4750) is the vendor-neutral IETF standards MIB for managing and monitoring the Open Shortest Path First (OSPFv2) link-state interior gateway routing protocol on any conformant router. It exposes configuration and operational data across OSPF's core building blocks: areas, interfaces, virtual links, neighbor adjacencies, and the link-state database, alongside router-level general status grouped under objects like ospfGeneralGroup. It is heavily used to monitor software/protocol status: general parameters such as router ID and admin/operational status, per-neighbor adjacency state (to detect flapping or stuck neighbors), and link-state database freshness are all key routing-stability health indicators, though this module does not cover physical hardware sensors. It depends on the underlying IF-MIB for the interface indices (ifIndex) that OSPF interface and neighbor tables reference, and it belongs to the broader family of routing-protocol MIBs alongside BGP4-MIB and RIPv2-MIB. It's deployed on any router or Layer 3 switch running OSPF, across enterprise and service-provider networks alike, and the ospf-mib module remains one of the most widely implemented routing MIBs across router vendors.

IPNetwork Monitor allows you to monitor SNMP objects defined in OSPF-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 router ID and admin/operational status
  • neighbor adjacency state
  • per-area link-state database and SPF run activity
  • per-interface OSPF state and designated router
  • virtual link status

Supported Devices

  • vendor-neutral, standards-based MIB, not tied to a specific manufacturer
  • any router or Layer 3 switch running OSPFv2

Monitoring Examples

An operator would poll the objects grouped under ospfGeneralGroup (such as router ID and admin status) to confirm OSPF is enabled and correctly identified on a router, then check the neighbor table for adjacencies stuck in a state other than Full, which typically signals a misconfigured area or authentication mismatch. The area table reveals per-area link-state database size and SPF run activity useful for spotting routing instability, while the interface table exposes per-interface OSPF cost, state, and designated-router election status; an interface stuck in a 'Waiting' state often points to a Hello/Dead timer mismatch with a neighbor. The module's ospfConformance/ospfCompliances/ospfGroups nodes define which of these object groups an agent must implement to claim standard compliance.

OIDs
OID symbolicOID numericTypeAccessDescription
ospf1.3.6.1.2.1.14OSPF Version 2 MIB.
ROU ospfRouterId1.3.6.1.2.1.14.1RouterIDread-writeOSPF router identifier.
INT ospfAdminStat1.3.6.1.2.1.14.2INTEGERread-writeOSPF administrative status.
INT ospfVersionNumber1.3.6.1.2.1.14.3INTEGERread-onlyOSPF version.
T/F ospfAreaBdrRtrStatus1.3.6.1.2.1.14.4TruthValueread-onlyArea border router status.
T/F ospfASBdrRtrStatus1.3.6.1.2.1.14.5TruthValueread-writeAS boundary router status.
G32 ospfExternLsaCount1.3.6.1.2.1.14.6Gauge32read-onlyExternal LSA count.
I32 ospfExternLsaCksumSum1.3.6.1.2.1.14.7Integer32read-onlyExternal LSA checksum sum.
T/F ospfTOSSupport1.3.6.1.2.1.14.8TruthValueread-writeTOS support.
C32 ospfOriginateNewLsas1.3.6.1.2.1.14.9Counter32read-onlyOriginated new LSAs.
C32 ospfRxNewLsas1.3.6.1.2.1.14.10Counter32read-onlyReceived new LSAs.
I32 ospfExtLsdbLimit1.3.6.1.2.1.14.11Integer32read-writeExternal LSA database limit.
I32 ospfMulticastExtensions1.3.6.1.2.1.14.12Integer32read-writeMulticast extensions.
NUM ospfExitOverflowInterval1.3.6.1.2.1.14.13PositiveIntegerread-writeExit overflow interval.
ospfConformance1.3.6.1.2.1.14.14
ospfGroups1.3.6.1.2.1.14.14.1
ospfCompliances1.3.6.1.2.1.14.14.2
ospfAreaTable1.3.6.1.2.1.14.16not-accessibleOSPF area table.
ospfAreaEntry1.3.6.1.2.1.14.16.1not-accessibleOSPF area entry.
ARE ospfAreaId1.3.6.1.2.1.14.16.1.1AreaIDread-onlyArea ID.
OSP ospfAuthType1.3.6.1.2.1.14.16.1.2OspfAuthenticationTyperead-writeAuthentication type.
INT ospfImportAsExtern1.3.6.1.2.1.14.16.1.3INTEGERread-writeImport AS external.
C32 ospfSpfRuns1.3.6.1.2.1.14.16.1.4Counter32read-onlySPF runs.
G32 ospfAreaBdrRtrCount1.3.6.1.2.1.14.16.1.5Gauge32read-onlyArea border router count.
G32 ospfAsBdrRtrCount1.3.6.1.2.1.14.16.1.6Gauge32read-onlyAS border router count.
G32 ospfAreaLsaCount1.3.6.1.2.1.14.16.1.7Gauge32read-onlyArea LSA count.
I32 ospfAreaLsaCksumSum1.3.6.1.2.1.14.16.1.8Integer32read-onlyArea LSA checksum sum.
INT ospfAreaSummary1.3.6.1.2.1.14.16.1.9INTEGERread-writeArea summary.
ROW ospfAreaStatus1.3.6.1.2.1.14.16.1.10RowStatusread-createRow status.
INT ospfAreaNssaTranslatorRole1.3.6.1.2.1.14.16.1.11INTEGERread-writeNSSA translator role.
INT ospfAreaNssaTranslatorState1.3.6.1.2.1.14.16.1.12INTEGERread-onlyNSSA translator state.
NUM ospfAreaNssaTranslatorStabilityInterval1.3.6.1.2.1.14.16.1.13PositiveIntegerread-writeNSSA translator stability interval.
C32 ospfAreaNssaTranslatorEvents1.3.6.1.2.1.14.16.1.14Counter32read-onlyNSSA translator events.

RFC description

IETF standard MIB (RFC 4750) for managing OSPF (Open Shortest Path First) routing protocol configuration and statistics.

Start monitoring vendor-neutral, standards-based MIB (OSPFv2 routing protocol, 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-MIB