Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF DR / BDR Election Deep Reference

Direct answer

On a multi-access segment OSPF elects a designated router (DR) and a backup (BDR). The other routers synchronise only with these two, which keeps the number of adjacencies down.

When to use this

Use it when an unexpected router is DR, when neighbours stay in 2-Way, or when deciding which router should hold the role on a segment.

First 30 seconds

1. show ip ospf interface <interface> — who is DR and BDR, and what is this router's priority?

2. Wrong DR → set ip ospf priority, then restart OSPF on the segment's routers; it does not take over by itself.

3. Routers that must never be DR → priority 0.

4. Only two routers on the link → ip ospf network point-to-point.

Operational verification

all routers on the segment hear each other → priorities compared, then router IDs → DR and BDR elected once → every router Full with both → DR originates the Network LSA

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 an unexpected router is DR, when neighbours stay in 2-Way, or when deciding which router should hold the ro…
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.

2 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 Operational verification Verify boundary
show ip ospf neighbor
show ip ospf interface GigabitEthernet0/0

The neighbour table shows each neighbour's priority and role: FULL/DR, FULL/BDR, FULL/DROTHER or 2WAY/DROTHER. The interface view shows this router's own state (DR, BDR or DROTHER), its priority, the network type, and the DR and BDR by router ID and address.

Known-good: all routers on the segment name the same DR and BDR, every router is Full with both, and routers with neither role are 2-Way with each other.

Step 2 Failure boundaries & interpretation Narrow the fault
  • The router with the highest priority is not DR. The election does not preempt; it joined after a DR was in place.
  • A priority change had no effect. It applies at the next election only.
  • Neighbours stuck in 2-Way. Normal between two DROTHER routers. A problem only if all routers have priority 0, so nobody is DR.
  • Routers disagree about the DR. They do not all hear each other — a partitioned VLAN or filtered multicast.
  • A hub-and-spoke network loses routes. A spoke became DR; only the hub reaches everyone, so spokes need priority 0.
  • Slow start on a two-router link. The routers wait out the election timer; use network type point-to-point.
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 points

Highest interface priority wins, then highest router ID; priority 0 never takes the role. The election does not preempt: a router that is already DR stays DR when a better one arrives. 2-Way between two DROTHER routers is normal.

Key checks
  • show ip ospf neighbor — each neighbour's priority and role.
  • show ip ospf interface <interface> — own state, priority, network type, DR and BDR.
  • Compare on all routers of the segment: they must name the same DR and BDR.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

On a multi-access segment such as Ethernet, OSPF elects a designated router (DR) and a backup (BDR). The other routers synchronise their databases with these two only, instead of with every router on the segment.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Without a DR, ten routers on a VLAN would need 45 adjacencies. With one, each router needs two. The election has two properties that cause confusion: it is decided by priority before router ID, and a router that is already DR keeps the role when a "better" one arrives.

ReferenceHow it works1 section · depth on demand

How it works

Who wins. The router with the highest interface priority becomes DR; the next highest becomes BDR. The priority is 1 by default and is set with ip ospf priority <0–255>. If priorities are equal, the highest router ID wins. A router with priority 0 never takes either role.

When. A router that comes up on a segment waits for the dead interval (40 seconds by default) to hear whether a DR already exists. If one does, it is accepted. The election is not repeated when a router with higher priority joins later: the DR stays DR until it fails. Then the BDR takes over and a new BDR is elected.

In practice the first routers to boot hold the roles. To get a particular router as DR, give it the highest priority and restart OSPF on the segment's routers — or set priority 0 on those that must never have the role.

What the roles do. Every router forms a full adjacency with the DR and the BDR. Two routers that hold neither role stay in state 2-Way with each other, shown as 2WAY/DROTHER — that is normal. Updates are sent to the DR and BDR on 224.0.0.6, and the DR passes them to everyone on 224.0.0.5. The DR also originates the Network LSA for the segment.

Point-to-point links have no DR. On an Ethernet link between just two routers, ip ospf network point-to-point skips the election and the wait.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

DR and BDR election details that matter in operations

The Catalyst 9300 OSPF guide documents ip ospf priority (0–255, default 1) for DR selection. RFC 2328 Hellos carry each router's priority and its view of the current DR and BDR.

Election behaviour

RuleDetail
Who takes partRouters with priority > 0 on broadcast and NBMA networks
BDR firstThe BDR is elected first, then the DR (a router declaring itself BDR is preferred for BDR)
WinnerHighest priority, then highest router ID
Wait timerA router joining a segment waits (the wait interval equals the dead interval) before electing, to learn the existing DR and BDR
Non-preemptiveA better router joining later doesn't take over
DR failsThe BDR becomes DR; a new BDR is elected
C9300# show ip ospf interface Vlan100 | include State|Designated|Backup|Wait
  Transmit Delay is 1 sec, State BDR, Priority 90
  Designated Router (ID) 10.0.0.11, Interface address 10.100.0.1
  Backup Designated router (ID) 10.0.0.12, Interface address 10.100.0.2
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
C9300# show ip ospf neighbor Vlan100
C9300# clear ip ospf process      ! re-runs the election on all interfaces of the process

What the DR does

TaskDetail
AdjacenciesEvery router on the segment is FULL with the DR and BDR only
Network-LSAThe DR originates the type 2 LSA listing attached routers
FloodingRouters send updates to 224.0.0.6 (DR and BDR); the DR floods them to 224.0.0.5

Design

CaseRecommendation
Two-router Ethernet linksip ospf network point-to-point: no election, no wait timer, no type 2 LSA
Shared segments with many routersSet the core routers' priorities high; give the others 0
Hub-and-spoke NBMADR must be the hub (spokes priority 0)

The wait timer is why adjacencies on broadcast links take about 40 s to form after a reboot. Point-to-point links come up faster.

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.
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 DR / BDR Election Deep 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 drospf bdrdesignated routerdrotherospf priority
Embedded quick reference

Operational notes

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

OSPF DR/BDR Election — Fast Check

Explain current DR/BDR without assuming the election preempts

1. Confirm broadcast/NBMA-type segment.

2. Read interface priority.

3. Priority 0 = ineligible.

4. Highest priority wins; router ID breaks ties.

5. Existing election is non-preemptive.

6. Check Type-2 Network LSA after adjacency.

Confirmation

Confirm action

Continue?