Use it to choose between them, or to understand a network that runs both and redistributes between them.
EIGRP vs OSPF
1. Pick one prefix: show ip route <prefix> — which protocol installed it?
2. Is that the intended one? EIGRP internal (90) beats OSPF (110).
3. Check adjacency in the owning protocol.
4. Redistributing between them → tags and distances on both sides.
5. Compare failover: does EIGRP have a feasible successor; does OSPF have an alternative path?
each protocol's adjacencies up → each knows the prefix → administrative distance decides the owner → redistribution controlled with tags → failover path present in the owning protocol
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & 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 Verification workflow: compare the same prefix through both pipelines Verify boundary
Use the same evidence order for a fair comparison. First show interface and protocol participation. For EIGRP, inspect show ip eigrp interfaces and show ip eigrp neighbors; for OSPF, inspect show ip ospf interface and show ip ospf neighbor. Next inspect protocol-specific path state: show ip eigrp topology for EIGRP and show ip ospf database plus relevant SPF/route context for OSPF. Then inspect the RIB with show ip route eigrp, show ip route ospf, or an exact-prefix route lookup. show ip protocols provides process, network, passive-interface, distance and redistribution context for both protocols, but it is configuration/control-plane evidence rather than prefix-level evidence. Finally verify forwarding/CEF and an end-to-end test if the claim is about packet delivery. Record the exact prefix, next hop, metric/cost, route type, administrative distance and timestamp. The key troubleshooting question is always: at which boundary does the expected state first disappear—neighbor, protocol database/topology, path selection, RIB, adjacency/CEF, or data plane?
Step 2 Failure signatures and interpretation traps Narrow the fault
Common EIGRP failure signatures include no neighbor on an expected interface, topology entries without the expected successor behavior, routes entering Active, an alternate that is not a feasible successor, or a route present in EIGRP state but absent from the RIB because another source wins. Common OSPF signatures include INIT/EXSTART/EXCHANGE adjacency stalls, FULL adjacency with a missing required LSA, a correct LSDB entry that produces an unexpected route type/cost, or an OSPF route losing RIB selection. Do not equate EIGRP Active with a healthy active route; Active means DUAL is performing a diffusing computation for that destination. Do not equate OSPF FULL with complete reachability; FULL describes adjacency/database synchronization at that neighbor boundary. Do not compare EIGRP composite metric directly with OSPF cost, and do not use administrative distance as an explanation for same-protocol path choice. If both protocols run during migration or redistribution, route feedback, seed metrics, tagging and administrative-distance changes can create behavior that neither protocol would show in isolation. Hand the exact output and topology context to ChatGPT for live diagnosis rather than encoding a large in-site troubleshooting framework.
OSPF: open standard, areas, cost from bandwidth, distance 110. EIGRP: Cisco (partly published), no areas but summarisation anywhere, composite metric, distance 90 internal / 170 external, feasible successors for fast failover. Where both carry the same prefix, EIGRP wins on distance.
show ip protocols— both protocols and their settings.show ip route <prefix>— which protocol owns the prefix, at which distance.show ip ospf neighbor/show ip eigrp neighbors— adjacencies in each.show ip ospf database/show ip eigrp topology— what each protocol knows.
ReferenceWhat it is1 section · depth on demand
Mental model: what is actually being compared
EIGRP and OSPF are both interior gateway protocols, but they build and select paths from different control-plane models. EIGRP exchanges route and metric information with EIGRP neighbors, maintains a topology table, and uses DUAL to select a successor and determine whether an alternate path satisfies the feasibility condition. OSPF floods link-state advertisements inside an area, builds a synchronized link-state database, and runs SPF against that topology to calculate paths. The practical comparison is therefore not “distance-vector versus link-state” as a label; it is neighbor formation → protocol state → path calculation → RIB installation → forwarding. A healthy EIGRP neighbor or OSPF FULL adjacency shows only the neighbor boundary. It does not show the required prefix exists in the topology/LSDB, wins protocol selection, enters the RIB, resolves in CEF, or forwards traffic. When troubleshooting either protocol, keep these evidence layers separate and compare the exact prefix, interface, address family, metric inputs and route source rather than treating protocol-up as end-to-end evidence.
ReferenceHow it works1 section · depth on demand
Neighbor formation and control-plane state
EIGRP forms neighbor relationships on enabled interfaces when core parameters are compatible and exchanges routing information through EIGRP packets. Operational analysis centers on the neighbor table, the interfaces participating in EIGRP, and the topology table for the exact prefix. OSPF neighbor formation is more explicitly stateful: neighbors progress through states such as Down, Init, 2-Way, ExStart, Exchange, Loading and Full, with adjacency behavior also influenced by network type and DR/BDR roles on multiaccess segments. OSPF then synchronizes LSDB information using DBD, LSR, LSU and LSAck processing. The protocols therefore expose different intermediate evidence. In EIGRP, a stable neighbor plus a route in the topology table still requires DUAL/RIB interpretation. In OSPF, FULL shows database synchronization with that neighbor but does not show that the expected LSA was originated, flooded into the relevant area, selected by SPF or installed. Authentication, interface participation, addressing, MTU and filtering can disrupt these control-plane boundaries differently, so compare the first missing state instead of applying one generic “routing protocol down” diagnosis.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
EIGRP and OSPF solve the same problem — dynamic interior routing — with different models. OSPF is a link-state standard where every router computes paths from a shared area map; EIGRP is Cisco's advanced distance-vector protocol where routers trust neighbors' metrics and DUAL keeps loop-free backups.
| Aspect | OSPF | EIGRP |
|---|---|---|
| Algorithm | SPF on LSDB | DUAL on topology table |
| Hierarchy | Areas (area 0 required) | Summarisation anywhere, stub routers |
| Metric | Cost (bandwidth) | Bandwidth + delay |
| Unequal-cost load balancing | No | Yes (variance) |
| Multi-vendor | Yes | Limited (Cisco-centric) |
| AD | 110 | 90 internal / 170 external |
In multi-vendor or provider-style networks OSPF (or IS-IS) is the usual choice; EIGRP is valued in Cisco-only enterprises for simple configuration and fast convergence.
Metric and path-selection mechanics
EIGRP uses a composite metric derived from configured metric components; in normal modern deployments bandwidth and delay are the dominant inputs unless K-values are intentionally changed. DUAL selects the lowest-metric successor and can identify feasible successors whose reported distance satisfies the feasibility condition relative to the current feasible distance. A feasible successor is a loop-free backup candidate, not automatically an installed forwarding path. OSPF uses cost as its path metric and runs SPF over the LSDB. Interface cost is commonly derived from reference bandwidth and interface bandwidth unless explicitly configured, so high-speed links can collapse to equal cost if the reference bandwidth is not planned consistently. Equal-cost paths can be installed where the platform and route type allow them. These metric systems are not numerically comparable: an EIGRP metric of one value cannot be meaningfully compared to an OSPF cost of another. Administrative distance is a separate local RIB preference used when different routing sources offer the same prefix; it does not decide ordinary same-protocol EIGRP or OSPF path selection. First determine the protocol candidate, then determine whether the RIB installs it.
Redistribution and coexistence: the boundary where comparisons become operationally critical
When EIGRP and OSPF coexist, redistribution creates a policy boundary rather than merging the two protocols into one path-selection domain. Each protocol imports routes as external information according to its own metric and route-type rules. A redistributed route therefore loses the original protocol’s native metric meaning unless policy explicitly carries useful context through tags or other attributes. Seed/default metrics must be deliberate, especially for protocols whose native metric model requires values that cannot be inferred directly from the source protocol. Bidirectional redistribution can feed routes back toward their origin and requires filtering/tagging design to prevent loops or unintended preference. Administrative distance determines which source the local RIB prefers for identical prefixes, but manipulating AD can hide a redistribution design problem rather than solve it. During migration, verify one representative prefix in both protocol databases, identify where it was originated or redistributed, confirm tags/filters and compare the installed route. The safest comparison is not “which protocol wins,” but “which policy boundary created this candidate, which protocol selected it, and why did the RIB install this source?”
ReferenceConfiguration & state1 section · depth on demand
Configuration, summarization and filtering boundaries
Both protocols can advertise connected or redistributed reachability, apply policy at selected boundaries and summarize routes, but the scope and syntax differ. EIGRP configuration associates interfaces/prefixes with an EIGRP process or named address-family and can apply passive-interface behavior, summarization and route filtering according to platform capabilities. OSPF associates interfaces with an OSPF process and area, and multi-area behavior introduces ABR/ASBR roles, area types and LSA-scope rules. OSPF summarization is tied to area/external boundaries rather than being a generic per-interface equivalent of EIGRP summarization. Filtering also has different semantics: suppressing a route from the local RIB is not necessarily the same as preventing topology/LSA information from existing elsewhere. In both protocols, passive-interface is primarily an adjacency-control mechanism while the connected network can still be advertised depending on the protocol/configuration model. A comparison should therefore state exactly what is being controlled: neighbor formation, route advertisement, topology propagation, RIB installation or forwarding. Do not translate one protocol’s syntax mechanically into the other without preserving that boundary.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Scope at a glance
What this Topic covers and what it does not. A missing item is not a compatibility statement.
This does not prove…
Healthy-looking observations are bounded explicitly so a partial success is not mistaken for end-to-end proof.
Does not prove: The required prefix is a successor, installed in the RIB or forwarding.
Verify next: Inspect the exact prefix in the EIGRP topology table, RIB and CEF.Does not prove: The required LSA exists or the intended route is installed and forwarding.
Verify next: Inspect LSDB, exact-prefix OSPF route and forwarding state.Does not prove: It is preferred over the other protocol because EIGRP metric and OSPF cost are different scales.
Verify next: Determine each protocol candidate, then use administrative distance/RIB evidence for cross-source preference.Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Configuration example
Assumptions: Interface addressing already works. Use platform-appropriate process/address-family syntax and replace prefixes/interfaces with the actual design.
! EIGRP example
router eigrp 100
network 10.10.0.0 0.0.255.255
passive-interface default
no passive-interface GigabitEthernet0/0
!
! OSPF example
router ospf 100
router-id 10.255.0.1
passive-interface default
no passive-interface GigabitEthernet0/1
network 10.20.0.0 0.0.255.255 area 0Expected output
show ip protocolsExpected state: The intended EIGRP and OSPF processes show the expected routing sources, passive-interface/participation context, administrative distance and redistribution state.
Routing Protocol is "eigrp 100"
...
Routing Protocol is "ospf 100"
...This is process-level known-good shape only. Prove neighbors, protocol database/topology, exact-prefix RIB installation and forwarding separately.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.
Quick lookup tables
EIGRP vs OSPF · operational comparison
Protocol-model, metric, convergence and verification boundaries for fast lookup.
| Dimension | EIGRP | OSPF | Operational boundary |
|---|---|---|---|
| Control model | Advanced distance-vector / DUAL | Link-state / SPF | Different databases and algorithms |
| Protocol number | IP 88 | IP 89 | Neither uses TCP/UDP for routing packets |
| Main path metric | Composite metric | Cost | Values are not comparable across protocols |
| Loop-free alternate | Feasible successor via feasibility condition | SPF-derived alternate / ECMP as applicable | Alternate existence ≠ installed forwarding path |
| Topology state | EIGRP topology table | LSDB per area | Protocol state precedes RIB installation |
| Hierarchy / scale | Query scope, summarization, stubs | Areas, ABRs, LSA scope | Different containment mechanisms |
| Neighbor proof | EIGRP neighbor present | OSPF adjacency state, often FULL | Neighbor state does not prove route installation |
| RIB source preference | Administrative distance after EIGRP selects candidate | Administrative distance after OSPF selects candidate | Administrative distance compares sources, not native path metrics |
| IPv6 model | EIGRP for IPv6 / named mode depending platform | OSPFv3 | Verify address-family/platform applicability |
| Redistribution | External EIGRP route with seeded metric/policy | External OSPF LSA/route type with metric/policy | Tag/filter feedback prevention explicitly |
Deep reference
Design & tradeoffs
Convergence, hierarchy and scale
EIGRP convergence is strongly influenced by whether DUAL already has a feasible successor. If the successor fails and a feasible successor exists, the router can transition to that loop-free alternate without an active diffusing computation for the destination. If no feasible successor exists, DUAL may query neighbors and the route can enter Active state while a new loop-free path is determined. OSPF reacts to topology change by updating link-state information and running SPF calculations; area design limits the flooding/SPF scope and introduces ABR behavior between Area 0 and non-backbone areas. These are different scaling mechanisms: EIGRP relies on query boundaries, summarization and topology knowledge, while OSPF explicitly uses hierarchical areas and LSDB scope. Timer tuning alone is not a complete convergence design for either protocol; failure detection, alternate-path availability, CPU/control-plane load and the resulting RIB/FIB update all matter. BFD may improve failure detection where supported, but fast detection is only the first step—the protocol still needs a valid alternate and the forwarding plane must converge.