Compare routing concepts of EIGRP and OSPF (distance vector vs. link state, metrics, area types)

3.2 Layer 3

📘CCNP Encore (350-401-ENCORE-v1.1)


This section focuses on understanding the differences between EIGRP and OSPF, two common routing protocols in Layer 3 networking. The exam expects you to know:

  1. Their routing types (distance vector vs. link-state)
  2. Metrics and path selection
  3. OSPF area types and basic design principles

1. Routing Types: Distance Vector vs. Link-State

Routing protocols are classified into two main types:

FeatureEIGRPOSPF
Routing TypeAdvanced Distance VectorLink-State
How It WorksShares routing tables with neighbors. Each router knows the best path to a network using metrics.Routers build a full map of the network topology and calculate the shortest path using the SPF algorithm.
ConvergenceFast, uses DUAL algorithm to quickly find backup pathsFast, but slightly slower in large networks because it recalculates SPF tree
Routing UpdatesSends partial updates only when changes occurSends LSAs (Link-State Advertisements) to all routers in the area, flooding the network

Key Point for Exam:

  • EIGRP = faster in smaller environments, less resource-intensive
  • OSPF = scalable for large enterprise networks

2. Metrics and Path Selection

Both protocols use metrics to select the best path to a destination, but they calculate them differently.

EIGRP Metrics

  • Uses bandwidth, delay, reliability, load, and MTU (MTU is ignored for path selection)
  • Formula is complex but simplified in exams: lower total metric = better path
  • Example in IT: If you have multiple WAN links to a branch office, EIGRP will choose the path with higher bandwidth and lower delay.

OSPF Metrics

  • Uses cost, which is based on interface bandwidth
  • Default formula: Cost = 100,000,000 / bandwidth in bps
  • Lower cost = preferred path
  • Example: OSPF prefers a 1 Gbps link (cost 100) over a 100 Mbps link (cost 1000)

Key Exam Difference:

  • EIGRP uses composite metrics (multiple factors)
  • OSPF uses bandwidth-based cost

3. OSPF Area Types

OSPF is area-based to optimize large networks. You don’t need to memorize every command, but understand the concepts:

Area TypeDescriptionExam Tip
Backbone (Area 0)Core of OSPF network. All areas connect here.Must always exist
Standard/Normal AreaStores full routing info. Can connect multiple routersCommon default
Stub AreaBlocks external routes (reduces routing table size)Only one exit point (default route)
Totally Stubby Area (TSA)Blocks external and inter-area routes, only default routeCisco-specific
Not-So-Stubby Area (NSSA)Allows importing external routes but still limitedUseful for connecting external networks via OSPF

Key Exam Tip:

  • You should know which area types reduce routing table size and which allow external routes.

4. Summarized Comparison

FeatureEIGRPOSPF
TypeAdvanced Distance VectorLink-State
MetricBandwidth, Delay, Reliability, LoadCost (Bandwidth-based)
AlgorithmDUALSPF (Shortest Path First)
ConvergenceVery fast, uses feasible successorsFast, but recalculates SPF tree
UpdatesPartial (triggered only when topology changes)Full LSAs flooded within the area
ScalabilityMediumHigh (supports large networks with areas)
Design ComplexitySimpleComplex (requires area planning)
Common Use in ITSmaller to medium enterprise WANLarge enterprise LAN/WAN

5. Exam Focus Points

  1. Know the type: EIGRP = distance vector, OSPF = link-state
  2. Know metrics: EIGRP = composite, OSPF = cost
  3. Understand areas: Backbone (0), Stub, Totally Stubby, NSSA
  4. Remember convergence differences: EIGRP has backup paths pre-calculated (feasible successors), OSPF recalculates SPF tree
  5. Know update methods: Partial vs. full LSAs

6. Simple IT Example for Understanding

  • EIGRP: Imagine 3 routers in an office WAN. Each router tells neighbors only about changes (faster, smaller messages). Router calculates backup paths in case a link goes down.
  • OSPF: Imagine 10 routers in a corporate network. Each router has a complete map of the network, so if a link fails, it recalculates the best path for all routes (more data, more planning).

Tips to Remember for Exam:

  • Distance Vector = EIGRP → Think table-based, neighbor updates
  • Link-State = OSPF → Think network map, SPF tree
  • EIGRP metrics = multiple factors
  • OSPF metrics = bandwidth-based cost
  • OSPF areas reduce routing table and improve scalability

Buy Me a Coffee