DR (Designated Router)
Cheat sheet · https://pcornel.dk/topic.php?topic=1103
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 addressshow 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 processshow ip ospf interface <interface>show ip ospf neighborip ospf priorityshow 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
| Boundary | Known-good for DR | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches the elected DR specifically on an Ethernet-style OSPFv2 broadcast network and its Full adjacency and Type 2 Network-LSA duties design | Configuration differs from design/peer | Compare effective configuration |
| Control-plane state | Stable expected election/adjacency/LSA/role state | broadcast 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 flaps | Inspect peer/database/election detail |
| Forwarding | Expected RIB/FIB or virtual-gateway path | Control state exists but traffic path disagrees | ARP/MAC/RIB/FIB/CEF proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or role was forced | Regression test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1103