Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Options Bit Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=293

Back to the Topic

Answer

The OSPF Options field advertises capabilities in Hellos, DBDs and LSAs — for example the E-bit (external routing; cleared in stub areas) and N/P-bits for NSSA. A mismatched E-bit is why routers in stub and non-stub configurations will not become neighbors.

Remember

E bit set = area accepts external LSAs; cleared in stub and NSSA areas — routers with different settings ignore each other's Hellos. N bit in Hellos signals NSSA support. P bit in a type 7 LSA tells the ABR to translate it to type 5. O bit marks opaque LSA support; DC is demand circuits.

First checks

  • Wireshark filter ospf.msg == 1 (Hello) and ospf.msg == 2 (DBD) — Options field.
  • show ip ospf interface <if> — area and area type on each side.
  • show ip ospf | include Area|stub|nssa — configured area types.
  • debug ip ospf hello — "Mismatched stub/transit area option bit E" messages.

Commands

show ip ospf
debug ip ospf hello

Verify in this order

area type configured → Options bits set in Hellos (E, N) → neighbours compare them → match → adjacency proceeds → LSAs carry bits (P for NSSA translation)

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

OSPF Options Bit Reference field-level operational reference

Field boundaryKnown-good for OSPF Options Bit ReferenceSuspicious signatureNext proof
Identity/lengthExact object/peer and coherent structureWrong identity, type or boundaryRaw packet/LSDB object + peer state
Field semanticsraw Options octet plus decoder labels for E, N/P and any deployed extension bits such as DC/O/DN, interpreted in the packet/LSA context where the byte was observed and against the configured OSPF area type match intended designarea-type disagreement expressed through incompatible capability signaling, NSSA/external capability mismatch, an extension bit required by the design missing on one peer, decoder/platform disagreement that masks the raw byte, or apparently different Options values that are incorrectly blamed even though the neighbor progresses and the real failure is later in DBD/LSA exchangeCompare same object across both sides
State consequenceField predicts expected protocol/route transitionObject looks valid but local state disagreesLSDB/SPF or BGP policy → RIB/FIB
ClosureOriginal workload succeeds for the explained reasonProtocol state recovered only transientlyRepeat state/capture + regression test

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=293

Confirmation

Confirm action

Continue?