Use it when the design or fault is specifically about the Designated Router role on multiaccess OSPF segments, which centralizes adjacency and Network-LSA responsibilities without becoming a traffic gateway. Stay on that boundary until configuration intent, live protocol state and the adjacent forwarding dependency agree.
DR (Designated Router) · OSPF Fundamentals
On broadcast networks such as Ethernet, OSPF elects a Designated Router (DR) so every router forms a Full adjacency only with the DR and BDR, not with each other. The highest interface priority wins, then the highest router ID; the election is not preemptive.
hellos → election → DR → type 2 LSA for segment
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 Layered verification and original-test closure Verify boundary
Step 2 Operational verification and known-good state Verify boundary
show ip ospf neighbor
show ip ospf interface GigabitEthernet0/0
show ip ospf database network
The neighbour table shows each neighbour's role. The interface view shows this router's own role and names the DR and BDR. The Network LSAs in the database — one per multi-access segment — list the attached routers as the DR sees them.
Known-good: one DR and one BDR per segment, the same on all routers there; other routers are FULL with those two and 2WAY with each other; the DR is a router suited to the role.
Step 3 Verification and output interpretation Verify boundary
Verify interface network type, priority, local state and the elected DR/BDR IDs. Inspect neighbor tables: Full to DR/BDR and 2-Way to other DROTHERs is normal on a healthy broadcast segment. Check the LSDB for the network LSA generated by the DR and correlate its attached-router list to expected neighbors. If a DR changes, verify adjacency recovery and updated LSAs before checking RIB/CEF impact. Never use “I see a DR” as the only health check; the exact DR identity may be valid while an individual neighbor or prefix is still missing.
Step 4 Verification & troubleshooting Narrow the fault
1. show ip ospf neighbor → roles in the State column: FULL/DR, FULL/BDR, 2WAY/DROTHER.
2. show ip ospf interface <interface> → this router's state on the segment, its priority, and the DR and BDR by router ID and address.
3. Check that all routers on the segment name the same DR.
4. To move the role: set the priorities, then restart OSPF on the current DR (or bounce its interface) in a maintenance window.
Step 5 Observation → implication → next check Narrow the fault
DR — If the wrong device is DR, first verify network type and all visible neighbors; then compare interface priority and router IDs. If values are correct, account for election history before forcing a reset.
Step 6 Failure signatures and troubleshooting branches Narrow the fault
- The router with the highest priority is not DR. It joined after the election; the election is not preemptive.
- Nobody is DR and all neighbours are
2WAY. Every router on the segment has priority 0. - Two routers both claim to be DR. They do not hear each other — the segment is split at Layer 2.
- In a hub-and-spoke network the spokes lack each other's routes. A spoke became DR; set the spokes' priority to 0.
- An adjacency on a two-router Ethernet link takes 40 seconds to come up. The wait timer; use the point-to-point network type.
Step 7 When the problem is really fixed Narrow the fault
- All routers on the segment agree on one DR and one BDR.
- The DR is the intended router, or the current one is accepted knowingly.
- Other routers are
FULLwith the DR and BDR. - Router-to-router links that need no DR use the point-to-point network type.
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.
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.
show ip ospf interface <interface>— Designated Routershow ip ospf neighbor— DR/BDR/DROTHER roles
ReferenceWhat it is1 section · depth on demand
What it is
On a multi-access segment such as Ethernet, OSPF elects one designated router (DR). The other routers on the segment form adjacencies with the DR and the backup DR rather than with each other, and the DR originates the Network LSA that represents the segment.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Without a DR, every router on a LAN would be adjacent to every other, and each update would be flooded many times over. With it, each router needs two adjacencies. In practice the DR matters for three reasons: it explains why 2WAY/DROTHER is a normal state, its election holds a surprise because it is not preemptive, and a link between just two routers does not need a DR at all.
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
DR — The OSPF DR/BDR role exists on multiaccess network types to reduce adjacency and LSA-exchange complexity; election is local to the segment and is not a global router preference. The election uses interface priority and router ID and is non-preemptive. A router with higher priority does not automatically replace an already elected DR until the election is rerun.
ReferenceImportant terms & boundaries6 sections · depth on demand
Key points
- Election: highest interface priority (default 1; 0 means never), then highest router ID.
- Not preemptive: an elected DR stays until it fails or its OSPF process restarts.
- Decided per segment — a router can be DR on one interface and not on another.
- Other routers send updates to 224.0.0.6, which the DR and BDR listen to; the DR floods them on to 224.0.0.5.
- The first routers to come up wait one dead interval (40 seconds) before electing, so the router that boots first often becomes DR.
- On an Ethernet link between two routers,
ip ospf network point-to-pointremoves the election and the wait. - In hub-and-spoke networks the hub must be DR; give the spokes priority 0.
In depth
On broadcast segments, OSPF elects a designated router to limit adjacencies
On multi-access networks (Ethernet VLANs with several OSPF routers), every router forms a full adjacency only with the DR and BDR, not with every other router. The DR originates the network LSA for the segment.
The Catalyst 9300 OSPF guide documents ip ospf priority (0–255, default 1) for DR selection.
C9300-CORE1(config)# interface Vlan100
C9300-CORE1(config-if)# ip ospf priority 100
C9300-ACC1(config)# interface Vlan100
C9300-ACC1(config-if)# ip ospf priority 0
C9300-CORE1# show ip ospf interface Vlan100 | include State|Designated|Backup
Transmit Delay is 1 sec, State DR, Priority 100
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
C9300-ACC1# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.0.0.11 100 FULL/DR 00:00:36 10.100.0.1 Vlan100
10.0.0.12 90 FULL/BDR 00:00:33 10.100.0.2 Vlan100
10.0.0.21 0 2WAY/DROTHER 00:00:38 10.100.0.21 Vlan100
Election rules
| Rule | Detail |
|---|---|
| Highest priority wins; ties go to the highest router ID | Priority 0 never becomes DR or BDR |
| Non-preemptive | A new router with a higher priority doesn't take over an existing DR |
| DROTHER routers | Stay in 2WAY with each other; FULL only with the DR and BDR |
Design
| Situation | Recommendation |
|---|---|
| Point-to-point links between two routers | ip ospf network point-to-point: no DR/BDR election, faster adjacency |
| Shared VLAN with core and access routers | High priority on the core pair, 0 on the others |
| DR changes after reboots | Expected, since the election is non-preemptive; clear the process in a window if needed |
2WAY/DROTHER between two non-DR routers is normal. It's not a stuck adjacency.
Documented example, not captured output.
Quick reference
The Designated Router (DR) on a broadcast or NBMA segment forms Full adjacencies with every router on the segment and generates the segment's Type 2 network LSA, reducing the number of adjacencies from n(n−1)/2 to about n.
| Election rule | Detail |
|---|---|
| Highest interface priority (0–255) | Priority 0 = never DR |
| Tie: highest router ID | |
| Non-preemptive | A better router joining later does not take over |
interface Gi0/1
ip ospf priority 100
show ip ospf interface Gi0/1 | include Designated
Documented example, not captured output.
Mechanics and state ownership
When routers come up on a segment they first listen for a wait period equal to the dead interval. If a DR already exists they accept it. If not, the eligible routers compare priority and then router ID; the best becomes BDR and, with no DR present, is promoted to DR, after which a new BDR is chosen.
The election is deliberately not preemptive. A change of DR forces every router on the segment to form new adjacencies and the segment's LSA to be replaced, so OSPF prefers stability over having the "best" router in the role.
The Network LSA is the reason the role exists in the database. It lists every router attached to the segment, so SPF can treat the segment as a single node that all those routers connect to, instead of a mesh of links. When the DR changes, the new DR issues a new Network LSA and the area recalculates.
State model and technical mechanics
On an OSPF broadcast or other DR-capable multiaccess network, the DR becomes the central adjacency/flooding relationship for DROTHER routers. Rather than every router forming a full adjacency with every other router, DROTHERs can remain 2-Way with one another while forming Full adjacencies with the DR and BDR. The DR also originates the network LSA for the segment when appropriate, representing the attached routers in the area topology. Election uses interface priority and Router ID and is non-preemptive. The role is per interface/network segment, not a router-wide designation.
Limits and common misconceptions
DR is not the Layer-3 default gateway, spanning-tree root or HSRP Active router unless the design independently makes the same device hold those roles. DR election also does not imply that the highest-priority device will take over later; OSPF does not normally preempt a stable DR. A correct DR/BDR election does not show the LSDB contains every expected route source or that data-plane forwarding works. Keep the role scoped to OSPF on the specific multiaccess interface.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Choose DR placement only when there is a clear operational reason, such as stable infrastructure routers on a shared transit LAN. Configure priority consistently and use priority 0 for routers that should never become DR/BDR. Do not force all routers into Full relationships by changing network type unless the topology calls for it. Stable Router IDs and predictable interface priorities make election outcomes easier to understand, but remember that election timing matters because stable roles do not preempt automatically. Treat DR design as control-plane scaling and topology representation, not as a user-traffic gateway selection mechanism.
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 Routing → OSPF → OSPF Fundamentals → DR. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%Quick lookup tables
DR · technical reference
Compact OSPF/FHRP mechanics, design and evidence boundaries for fast lookup.
| Item | Meaning |
|---|---|
| DR | Primary OSPF multiaccess adjacency/flooding role |
| DROTHER | Normally Full to DR/BDR, 2-Way to peers |
| Network LSA | Represents the shared segment topology |
| Election | Priority, then Router ID; non-preemptive |
DR operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for DR | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches the Designated Router role on multiaccess OSPF segments, which centralizes adjacency and Network-LSA responsibilities without becoming a traffic gateway design | Configuration differs from design/peer | Compare effective configuration |
| Control-plane state | Stable expected election/adjacency/LSA/role state | an unexpected DR after a topology restart, no DR on a broadcast segment, excessive Full adjacencies because network types disagree, a router with priority 0 expected to become DR, or operators mistaking DR ownership for data-plane gateway preference | 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 |