All MIBs › OSPF-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 symbolic | OID numeric | Type | Access | Description |
|---|---|---|---|---|
| ospf | 1.3.6.1.2.1.14 | OSPF Version 2 MIB. | ||
| ROU ospfRouterId | 1.3.6.1.2.1.14.1 | RouterID | read-write | OSPF router identifier. |
| INT ospfAdminStat | 1.3.6.1.2.1.14.2 | INTEGER | read-write | OSPF administrative status. |
| INT ospfVersionNumber | 1.3.6.1.2.1.14.3 | INTEGER | read-only | OSPF version. |
| T/F ospfAreaBdrRtrStatus | 1.3.6.1.2.1.14.4 | TruthValue | read-only | Area border router status. |
| T/F ospfASBdrRtrStatus | 1.3.6.1.2.1.14.5 | TruthValue | read-write | AS boundary router status. |
| G32 ospfExternLsaCount | 1.3.6.1.2.1.14.6 | Gauge32 | read-only | External LSA count. |
| I32 ospfExternLsaCksumSum | 1.3.6.1.2.1.14.7 | Integer32 | read-only | External LSA checksum sum. |
| T/F ospfTOSSupport | 1.3.6.1.2.1.14.8 | TruthValue | read-write | TOS support. |
| C32 ospfOriginateNewLsas | 1.3.6.1.2.1.14.9 | Counter32 | read-only | Originated new LSAs. |
| C32 ospfRxNewLsas | 1.3.6.1.2.1.14.10 | Counter32 | read-only | Received new LSAs. |
| I32 ospfExtLsdbLimit | 1.3.6.1.2.1.14.11 | Integer32 | read-write | External LSA database limit. |
| I32 ospfMulticastExtensions | 1.3.6.1.2.1.14.12 | Integer32 | read-write | Multicast extensions. |
| NUM ospfExitOverflowInterval | 1.3.6.1.2.1.14.13 | PositiveInteger | read-write | Exit overflow interval. |
| ospfConformance | 1.3.6.1.2.1.14.14 | |||
| ospfGroups | 1.3.6.1.2.1.14.14.1 | |||
| ospfCompliances | 1.3.6.1.2.1.14.14.2 | |||
| ospfAreaTable | 1.3.6.1.2.1.14.16 | not-accessible | OSPF area table. | |
| ospfAreaEntry | 1.3.6.1.2.1.14.16.1 | not-accessible | OSPF area entry. | |
| ARE ospfAreaId | 1.3.6.1.2.1.14.16.1.1 | AreaID | read-only | Area ID. |
| OSP ospfAuthType | 1.3.6.1.2.1.14.16.1.2 | OspfAuthenticationType | read-write | Authentication type. |
| INT ospfImportAsExtern | 1.3.6.1.2.1.14.16.1.3 | INTEGER | read-write | Import AS external. |
| C32 ospfSpfRuns | 1.3.6.1.2.1.14.16.1.4 | Counter32 | read-only | SPF runs. |
| G32 ospfAreaBdrRtrCount | 1.3.6.1.2.1.14.16.1.5 | Gauge32 | read-only | Area border router count. |
| G32 ospfAsBdrRtrCount | 1.3.6.1.2.1.14.16.1.6 | Gauge32 | read-only | AS border router count. |
| G32 ospfAreaLsaCount | 1.3.6.1.2.1.14.16.1.7 | Gauge32 | read-only | Area LSA count. |
| I32 ospfAreaLsaCksumSum | 1.3.6.1.2.1.14.16.1.8 | Integer32 | read-only | Area LSA checksum sum. |
| INT ospfAreaSummary | 1.3.6.1.2.1.14.16.1.9 | INTEGER | read-write | Area summary. |
| ROW ospfAreaStatus | 1.3.6.1.2.1.14.16.1.10 | RowStatus | read-create | Row status. |
| INT ospfAreaNssaTranslatorRole | 1.3.6.1.2.1.14.16.1.11 | INTEGER | read-write | NSSA translator role. |
| INT ospfAreaNssaTranslatorState | 1.3.6.1.2.1.14.16.1.12 | INTEGER | read-only | NSSA translator state. |
| NUM ospfAreaNssaTranslatorStabilityInterval | 1.3.6.1.2.1.14.16.1.13 | PositiveInteger | read-write | NSSA translator stability interval. |
| C32 ospfAreaNssaTranslatorEvents | 1.3.6.1.2.1.14.16.1.14 | Counter32 | read-only | NSSA 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.