Use it when OSPF neighbours are stuck in EXSTART or EXCHANGE.
OSPF DBD Field & Sequence Reference
OSPF Database Description (DBD) packets list LSA headers during ExStart and Exchange. Key fields are interface MTU (must match or the adjacency sticks in ExStart), the I/M/MS flags for master/slave negotiation, and the DD sequence number.
EXSTART (master/slave) → DBD exchange with sequence numbers → LOADING
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip ospf neighborVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Packet capture verification and known-good sequence Verify boundary
show ip ospf neighbor
show ip ospf interface GigabitEthernet0/0
show interfaces GigabitEthernet0/0 | include MTU
debug ip ospf adj
The neighbour table shows the state; ExStart or Exchange that persists for more than a few seconds is a failure. The interface commands show the MTU on each side — compare both routers. debug ip ospf adj prints the DBD exchange with flags and sequence numbers, and says outright when a neighbour's MTU is larger; use it briefly.
In a capture, filter on OSPF packet type 2 and follow the I, M and MS flags and the sequence number.
Known-good: one router keeps the master role, the sequence number advances, both sides send a DBD with M cleared, and the neighbour reaches Full.
Step 2 Failure signatures and packet-level troubleshooting Narrow the fault
- Stuck in ExStart, then restarting. MTU mismatch between the two interfaces. Correct the MTU;
ip ospf mtu-ignoreonly hides it. - Both sides keep sending DBDs with the I bit. The roles are never settled: duplicate router IDs, or one side's packets do not arrive.
- Stuck in Exchange. DBDs are lost or arrive too large — again often MTU, sometimes a device in between dropping large packets.
- Works on a short database, fails on a large one. Small DBDs fit; the full-size ones exceed the path MTU.
- Reaches Full only after
mtu-ignore. Large LSA updates may still be dropped later; fix the real MTU.
Step 3 When the problem is really fixed Narrow the fault
- The neighbour reaches Full and stays there.
- The MTU is equal on both interfaces.
- Router IDs are unique.
debug ip ospf adjis turned off again.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
Database Description (DBD) packets are how two OSPF routers compare their link-state databases when they form an adjacency. Each side sends a list of the LSAs it has — headers only — so the other can see what it is missing.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
The DBD packet exchanges database summaries, with a master/slave sequence
RFC 2328 defines the Database Description packet fields: Interface MTU (0 on virtual links), Options, the I, M and MS bits, the DD sequence number, and a list of LSA headers.
| Field | Use |
|---|---|
| Interface MTU | Largest IP datagram the sending interface can send without fragmentation |
| Options | Same capability bits as in Hellos and LSAs |
| I (Init) | Set on the first DBD of the exchange |
| M (More) | More DBD packets follow |
| MS (Master/Slave) | Set by the master |
| DD sequence number | Set by the master, incremented per packet; the slave echoes it |
| LSA headers | Summary of the sender's LSDB |
How the exchange works
The routers negotiate master and slave in ExStart. The RFC describes the master as sending DBD packets and being the only side that retransmits (at RxmtInterval). The slave acknowledges each master packet by echoing its sequence number. The exchange ends when both have sent and received DBDs with the M bit cleared. The router with the higher router ID becomes master.
C9300# debug ip ospf adj
OSPF-1 ADJ Te1/1/1: Send DBD to 10.0.0.12 seq 0x1A2B opt 0x52 flag 0x7 len 32
OSPF-1 ADJ Te1/1/1: Rcv DBD from 10.0.0.12 seq 0x3C4D opt 0x52 flag 0x7 len 32 mtu 1500 state EXSTART
OSPF-1 ADJ Te1/1/1: NBR Negotiation Done. We are the SLAVE
OSPF-1 ADJ Te1/1/1: Exchange Done with 10.0.0.12
C9300# undebug all
Flag 0x7 = I + M + MS set: the first packet of the negotiation, sent by each side as a would-be master.
Common failures in this phase
| Symptom | Cause |
|---|---|
| Stuck in EXSTART or EXCHANGE | Interface MTU differs between neighbours; the larger-MTU side's DBDs are rejected |
| Stuck in EXSTART on a link with unicast problems | DBDs are unicast; an ACL or path issue drops them |
| Constant restart of the exchange | Duplicate router ID |
Fix for MTU mismatches
Make the IP MTU equal on both sides (ip mtu or mtu on the interface). ip ospf mtu-ignore skips the check but hides a real mismatch that can later drop large LSUs.
Documented example, not captured output.
Wire format, fields and state ownership
| Field | Meaning |
|---|---|
| Interface MTU | The largest IP packet the sending interface can send without fragmenting |
| Options | The sender's capability bits |
| I (Init) | Set on the first DBD of the exchange |
| M (More) | Set while the sender has more DBDs to send |
| MS (Master) | Set by the router acting as master |
| DD sequence number | Numbers the packets so each one is acknowledged |
| LSA headers | The summary of the sender's database |
The exchange runs in two phases.
ExStart. Both routers send an empty DBD with I, M and MS set, each claiming to be master with its own sequence number. The router with the higher router ID wins. The other answers with a DBD that has MS cleared and uses the master's sequence number, which settles the roles.
Exchange. The master sends DBDs with LSA headers and increases the sequence number each time; the slave replies with the same sequence number, carrying its own headers. This goes on until both have sent a packet with M cleared. Each side then knows which LSAs the other has that it lacks or has an older copy of, and requests those.
The MTU field is checked on receipt. If the neighbour announces a larger MTU than the receiving interface can accept, the packet is rejected and the adjacency does not get past ExStart.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → OSPF DBD Field & Sequence Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
OSPF DBD Field & Sequence Reference packet-level operational reference
Direction-aware field interpretation, suspicious signatures and the next protocol/forwarding proof boundary.
| Wire boundary | Known-good for OSPF DBD Field & Sequence Reference | Suspicious signature | Next proof |
|---|---|---|---|
| Message identity | Correct peer/direction/type and coherent lengths | Wrong sender, type, length or packet phase | Packet sequence + peer state |
| Field semantics | Interface MTU, Options, I/M/MS bits, DD Sequence Number and the ordered set of advertised LSA headers match intended protocol state | repeated I-bit negotiation, both sides behaving as master, sequence resets or non-progress, Interface MTU disagreement, options mismatch, asymmetric packet loss, duplicate Router ID side effects, or DBD exchange that progresses but later stalls because required LSAs cannot be fetched | Decode exact fields on both sides |
| State consequence | Packet produces expected protocol/route transition | Wire looks healthy but local state disagrees | FSM/LSDB/BGP table → RIB/FIB |
| Closure | Original workload succeeds for the explained reason | Session/adjacency recovered only transiently | Repeat capture + regression/failover test |
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.