Pcornel
Networking · Routing

EIGRP vs OSPF

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

Back to the Topic

Answer

EIGRP and OSPF solve the same problem differently. OSPF is a link-state standard: every router in an area has the full map and computes paths itself. EIGRP is Cisco's advanced distance-vector protocol: routers know their neighbours' distances and keep loop-free backups.

Remember

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.

First checks

  • 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.

Commands

show ip eigrp interfaces
show ip eigrp neighbors
show ip ospf interface
show ip ospf neighbor
show ip eigrp topology
show ip ospf database
show ip route eigrp
show ip route ospf
show ip protocols

Verify in this order

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

Where it usually breaks

The first missing expected state is the fault boundary. Neighbor state is not route proof; protocol database state is not RIB proof; RIB state is not forwarding proof.

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

Confirmation

Confirm action

Continue?