EIGRP Stub Routing and Query Optimization – Complete CCNP Guide

EIGRP Stub Routing and Query Optimization – Complete CCNP Guide
Networking ATN Campus November 12, 2026 41 views

EIGRP Stub Routing and Query Optimization – Complete CCNP Guide

EIGRP is designed to provide efficient routing and fast convergence in enterprise networks. However, when a network contains many routers, Query messages can travel across multiple routers during route recalculation.

EIGRP Stub Routing helps control query propagation by identifying routers that should not be used as transit routers for other networks.

In this CCNP tutorial, you will learn what EIGRP Stub Routing is, how it works, why query optimization is important, and how to configure and verify EIGRP stub routers using Cisco IOS commands.

1. What Is EIGRP Stub Routing?

EIGRP Stub Routing is a feature that identifies a router as a stub router. A stub router is generally located at the edge of an enterprise network and does not need to provide transit routing for other routers.

When a router is configured as an EIGRP stub, its neighbors can use that information to limit unnecessary Query messages sent toward the stub router.

Common examples include:

  • Branch office routers.
  • Small remote-site routers.
  • Routers connected to user LANs.
  • Routers with only one upstream routing path.
  • Edge routers that do not provide transit connectivity.

2. Why Is EIGRP Stub Routing Important?

In a large EIGRP network, a topology change can cause routers to send Query messages to discover an alternate route.

If a destination becomes unavailable, queries may propagate through multiple routers. This can increase convergence time and contribute to stuck-in-active problems if replies are delayed or lost.

EIGRP Stub Routing helps by:

  • Reducing unnecessary query propagation.
  • Improving routing scalability.
  • Limiting the query scope in appropriate network designs.
  • Helping reduce the possibility of stuck-in-active conditions.
  • Making branch and hub-and-spoke routing designs more efficient.

3. Understanding EIGRP Query Propagation

Consider this network:

              R1
              |
              |
              R2
             /  \
            /    \
           R3    R4
          Branch Branch

R1 and R2 are part of the central network. R3 and R4 are branch routers.

If R3 has a route failure and needs to find an alternate path, it may send a Query to its EIGRP neighbor R2.

If R2 cannot find a route, it may query other neighbors. In a larger network, this process can continue across multiple routers.

Configuring suitable edge routers as EIGRP stubs allows neighboring routers to understand that those routers should not be relied upon as transit paths for other destinations.

4. How Does EIGRP Stub Routing Work?

When EIGRP Stub Routing is configured, the router advertises its stub status to its EIGRP neighbors.

The neighbors use this information to limit query propagation toward the stub router.

Important: EIGRP Stub Routing does not mean that the router stops advertising all routes. It advertises the route categories permitted by its stub configuration.

5. EIGRP Stub Router Configuration Options

EIGRP supports different stub route categories. The options determine which types of routes a stub router can advertise.

OptionPurpose
ConnectedAdvertises eligible connected routes.
StaticAdvertises eligible redistributed static routes.
SummaryAdvertises summary routes configured on the router.
RedistributedAdvertises eligible routes redistributed into EIGRP.
Receive-onlyPrevents the stub router from advertising routes to its EIGRP neighbors.

The default EIGRP stub behavior generally includes connected and summary routes. Exact defaults and supported options should be checked for the IOS version and EIGRP configuration mode being used.

6. Configure EIGRP Stub Routing – Lab Topology

Let's build a hub-and-spoke topology.

              HQ Router
                 R1
                  |
                  |
                 R2
               /    \
              /      \
            R3        R4
          Branch    Branch

Example addressing plan:

LinkNetwork
R1–R210.0.12.0/30
R2–R310.0.23.0/30
R2–R410.0.24.0/30
R3 LAN192.168.3.0/24
R4 LAN192.168.4.0/24

R2 is the central router, while R3 and R4 are branch routers.

7. Configure EIGRP on the Routers

First, configure interface IP addresses and enable EIGRP AS 100 on all routers.

R1 Configuration

router eigrp 100
 network 10.0.12.0 0.0.0.3

R2 Configuration

router eigrp 100
 network 10.0.12.0 0.0.0.3
 network 10.0.23.0 0.0.0.3
 network 10.0.24.0 0.0.0.3

R3 Configuration

router eigrp 100
 network 10.0.23.0 0.0.0.3
 network 192.168.3.0 0.0.0.255

R4 Configuration

router eigrp 100
 network 10.0.24.0 0.0.0.3
 network 192.168.4.0 0.0.0.255

8. Configure EIGRP Stub Routing

Now configure R3 and R4 as EIGRP stub routers.

R3 Configuration

configure terminal

router eigrp 100
 eigrp stub connected summary

R4 Configuration

configure terminal

router eigrp 100
 eigrp stub connected summary

This configuration identifies R3 and R4 as stub routers and permits the configured connected and summary route categories.

The exact routes advertised still depend on the routing configuration and the routes available on each router.

9. EIGRP Stub Configuration Options Explained

Connected and Summary

router eigrp 100
 eigrp stub connected summary

Advertises eligible connected and summary routes. This is a common configuration for branch routers.

Static Routes

router eigrp 100
 eigrp stub connected static summary

Adds eligible static routes to the advertised route categories. Static routes generally need to be redistributed into EIGRP before they can be advertised as redistributed EIGRP routes; check the platform's stub behavior and redistribution configuration.

Redistributed Routes

router eigrp 100
 eigrp stub connected redistributed summary

Allows eligible redistributed routes to be advertised, provided redistribution is configured appropriately.

Receive-Only

router eigrp 100
 eigrp stub receive-only

The receive-only option prevents the router from advertising routes to its EIGRP neighbors. Use it only when that behavior is appropriate for the design.

10. Verify EIGRP Stub Routing

Check EIGRP Neighbors

show ip eigrp neighbors

Verify that the routers have established EIGRP neighbor relationships.

Check EIGRP Protocol Information

show ip protocols

Inspect the EIGRP process and routing configuration.

Check EIGRP Topology

show ip eigrp topology

This command displays EIGRP topology information.

Check Stub Information

show ip eigrp neighbors detail

On supported IOS versions, detailed neighbor output can display the stub information advertised by a neighbor.

Check the Routing Table

show ip route eigrp

Verify that the expected EIGRP routes are installed.

11. What Is EIGRP Query Optimization?

Query optimization is the process of controlling the scope of EIGRP route queries so that a topology change does not unnecessarily affect the entire routing domain.

Important techniques include:

  • EIGRP Stub Routing.
  • Route summarization.
  • Good network hierarchy and hub-and-spoke design.
  • Appropriate route filtering and redistribution.
  • Monitoring stuck-in-active events.

12. EIGRP Route Summarization

Route summarization reduces the number of individual prefixes advertised between routers.

For example, instead of advertising four separate /24 networks, a router may advertise one suitable summary route if the address ranges are contiguous and correctly aligned.

Example:

interface gigabitEthernet 0/1
 ip summary-address eigrp 100 192.168.0.0 255.255.252.0

This example configures a /22 EIGRP summary on the selected interface. Ensure the summarized range is appropriate for the actual networks and does not unintentionally include unrelated address space.

Summarization reduces routing table size and can limit the propagation of individual route changes.

13. What Is a Stuck-in-Active (SIA) Condition?

A Stuck-in-Active condition occurs when an EIGRP router does not receive all required Query replies within the expected time.

Possible causes include:

  • Unstable WAN links.
  • Slow or overloaded routers.
  • Packet loss.
  • Large query domains.
  • Routing design problems.

EIGRP uses mechanisms such as SIA queries to help determine whether neighbors are still responding during route calculations. If the problem cannot be resolved, a neighbor relationship may be reset.

14. EIGRP Stub Routing vs Route Summarization

FeatureEIGRP Stub RoutingRoute Summarization
Main purposeLimits query propagation toward stub routersCombines multiple prefixes into a summary
Primary benefitImproves query scalabilityReduces routing information
Typical locationBranch or edge routerNetwork boundary or selected interface
Configurationeigrp stubip summary-address eigrp

15. Common EIGRP Stub Routing Problems

ProblemPossible CauseSolution
Expected routes are missingStub route categories are not enabledReview the eigrp stub options
Neighbor relationship is downIP connectivity or AS mismatchCheck interfaces, AS number, and EIGRP parameters
Static routes are not advertisedRedistribution or stub options are missingCheck static route redistribution and stub configuration
SIA events continueLarge query domain or unstable linksReview topology, summarization, and neighbor stability
Summary route is incorrectWrong summary address or maskCalculate the correct CIDR summary

16. Frequently Asked Questions

Q1. What is EIGRP Stub Routing?

EIGRP Stub Routing identifies an edge router that should not be used as a transit router for other destinations and helps limit unnecessary Query propagation.

Q2. Why do we use EIGRP Stub Routing?

It helps improve query scalability and reduce unnecessary route-query propagation in enterprise and branch networks.

Q3. Does an EIGRP stub router advertise connected routes?

It can advertise eligible connected routes when the connected option is enabled.

Q4. What is an EIGRP SIA condition?

A Stuck-in-Active condition occurs when the required Query replies are not received within the expected time.

Q5. Does route summarization replace EIGRP Stub Routing?

No. They solve related but different problems. Stub routing limits query propagation toward edge routers, while summarization reduces the number of advertised prefixes.

17. Practical CCNP Lab Challenge

  1. Build a hub-and-spoke EIGRP topology with four routers.
  2. Configure EIGRP AS 100 on all routers.
  3. Advertise LAN networks from the branch routers.
  4. Configure branch routers as EIGRP stubs.
  5. Verify the stub information using neighbor detail commands.
  6. Check the routes advertised by each branch.
  7. Configure route summarization on a suitable interface.
  8. Compare routing information before and after summarization.
  9. Simulate a route failure and observe EIGRP behavior.

Conclusion

EIGRP Stub Routing is an important feature for scalable enterprise networks. It helps control query propagation by identifying routers that do not need to act as transit routers.

When combined with route summarization and a well-designed routing hierarchy, EIGRP Stub Routing can improve routing efficiency and help reduce unnecessary query activity.

Practice the configurations in a lab environment to understand how EIGRP behaves during route failures and topology changes.

???? Advance Your Networking Career with ATN Campus

Ready to develop advanced networking skills? Visit ATN Campus to explore CCNA, CCNP Enterprise, OSPF, EIGRP, BGP, network security, Python network automation, and practical Cisco networking labs.

???? Learn Networking. ???? Master Advanced Routing & Switching. ???? Practice with Real Labs. ???? Prepare for CCNP Certifications. ???? Build Your IT Career with ATN Campus.
Document ATN CAMPUS