Pcornel
Networking · Routing › OSPF › OSPFv2 › Broadcast Network

DR (Designated Router)

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

Back to the Topic

Answer

On an OSPFv2 broadcast network, routers elect a DR and BDR; DROTHERs form Full adjacencies only with these two and stay 2-Way with each other. The DR also originates the Type 2 network LSA describing the segment.

Remember

Do not infer service health from one role or command. For DR, distinguish configured intent, election/database state, installed forwarding state and the original workload result.

First checks

  • show ip ospf interface <interface> — Designated Router (ID) and address
  • show ip ospf database network — type 2 LSA from DR

Commands

show ip ospf interface
Detailed OSPF interface timers, network type, cost and adjacency context.
show ip ospf database router
Shows Type-1 Router LSAs.
show ip ospf database network
Shows Type-2 Network LSAs.
ip ospf priority <0–255>
clear ip ospf process
show ip ospf interface <interface>
show ip ospf neighbor
ip ospf priority
show ip ospf interface <if>

Verify in this order

election → DR → floods updates → type 2 LSA

Where it usually breaks

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

DR operational reference

BoundaryKnown-good for DRSuspicious signatureNext proof
IntentMatches the elected DR specifically on an Ethernet-style OSPFv2 broadcast network and its Full adjacency and Type 2 Network-LSA duties designConfiguration differs from design/peerCompare effective configuration
Control-plane stateStable expected election/adjacency/LSA/role statebroadcast peers using mismatched network types, unexpected DR from election history, a priority-0 node expected to be eligible, absent Type 2 Network LSA despite healthy multiaccess adjacency, or DR changes causing avoidable churn after interface flapsInspect peer/database/election detail
ForwardingExpected RIB/FIB or virtual-gateway pathControl state exists but traffic path disagreesARP/MAC/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or role was forcedRegression test

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

Confirmation

Confirm action

Continue?