Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF DBD Field & Sequence Reference

Direct answer

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.

When to use this

Use it when OSPF neighbours are stuck in EXSTART or EXCHANGE.

First 30 seconds

1. DBD packets (type 2) summarise LSDB headers during EXSTART/EXCHANGE.

2. Master/slave chosen by higher router ID; master controls DD sequence.

3. Flags: I (init), M (more), MS (master).

4. Interface MTU in DBD must match (or ip ospf mtu-ignore).

5. Stuck EXSTART/EXCHANGE = MTU mismatch typically.

Operational verification

EXSTART (master/slave) → DBD exchange with sequence numbers → LOADING

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ip ospf neighbor
Scope / prerequisiteUse it when OSPF neighbours are stuck in EXSTART or EXCHANGE.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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-ignore only 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 adj is turned off again.
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key checks
  • show ip ospf neighbor — EXSTART/EXCHANGE stuck?
  • show ip ospf interface <interface> — MTU-related settings
  • debug ip ospf adj — DBD exchange (lab)
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.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

A neighbour stuck in ExStart or Exchange is stuck in this step. The DBD packet has very few fields, and two of them — the MTU and the flags — account for nearly every such failure.

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.

FieldUse
Interface MTULargest IP datagram the sending interface can send without fragmentation
OptionsSame 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 numberSet by the master, incremented per packet; the slave echoes it
LSA headersSummary 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

SymptomCause
Stuck in EXSTART or EXCHANGEInterface MTU differs between neighbours; the larger-MTU side's DBDs are rejected
Stuck in EXSTART on a link with unicast problemsDBDs are unicast; an ACL or path issue drops them
Constant restart of the exchangeDuplicate 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Wire format, fields and state ownership

FieldMeaning
Interface MTUThe largest IP packet the sending interface can send without fragmenting
OptionsThe 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 numberNumbers the packets so each one is acknowledged
LSA headersThe 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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2328

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
ospf dbd fieldsdbd i m msdd sequenceospf exstart packet
Embedded reference data

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 boundaryKnown-good for OSPF DBD Field & Sequence ReferenceSuspicious signatureNext proof
Message identityCorrect peer/direction/type and coherent lengthsWrong sender, type, length or packet phasePacket sequence + peer state
Field semanticsInterface MTU, Options, I/M/MS bits, DD Sequence Number and the ordered set of advertised LSA headers match intended protocol staterepeated 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 fetchedDecode exact fields on both sides
State consequencePacket produces expected protocol/route transitionWire looks healthy but local state disagreesFSM/LSDB/BGP table → RIB/FIB
ClosureOriginal workload succeeds for the explained reasonSession/adjacency recovered only transientlyRepeat capture + regression/failover test
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

OSPF DBD I/M/MS & Sequence

ExStart/Exchange field decoder.

DBD fields

  • Interface MTU
  • I = Initial
  • M = More
  • MS = Master
  • DD sequence

Check

Capture both directions and look for stable master/slave plus advancing sequence.

Confirmation

Confirm action

Continue?