OSPF Options Bit Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=293
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) andospf.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 ospfdebug 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 boundary | Known-good for OSPF Options Bit Reference | Suspicious signature | Next proof |
|---|---|---|---|
| Identity/length | Exact object/peer and coherent structure | Wrong identity, type or boundary | Raw packet/LSDB object + peer state |
| Field semantics | raw 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 design | area-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 exchange | Compare same object across both sides |
| State consequence | Field predicts expected protocol/route transition | Object looks valid but local state disagrees | LSDB/SPF or BGP policy → RIB/FIB |
| Closure | Original workload succeeds for the explained reason | Protocol state recovered only transiently | Repeat 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