EIGRP Stub Explained

Hello Rene,
I have got some confusion here. I am going to use the below topology to ask my questions.

  1. In this topology, let’s say Stub is not configured. If I shutdown the loopback 0 on R2, who would send out Query? Is it only R1 or only R2 or both routers?

  2. Here If R1 is configured as Stub and Loopback 0 gets shutdown on R2, R2 will not send any Query to R1. However, R1 will send Query to R2. Is it correct?

Thanks a lot.


Hello Azm

R2 will query R1 to find an alternate route to R1 will not query any routers because it is not connected to any. Queries will not be sent back to the original router from which it was received, so R1 will not “re-query” R2. R1 will only send queries IF one of its connected networks go down.

If R1 is configured as a Stub and loopback 0 goes down, R2 will NOT send a query to R1 since it “knows” that because it is a stub, it cannot possibly have an alternate route to Again, R1 will not send a query to R2 unless one of its connected networks go down. If that happens, then yes, R1 will send a query to R2.

I hope this has been helpful!


Hi Rene,

In which scenario we need to use eigrp stub receive-only option, If you do not mind I need an example of this ???

Hello Hussein

There are several specialised cases where the receive-only option is useful. Some of these include:

  1. When applying it to a dual homed stub router with more than one connection to the same EIGRP AS. In a Dual-homed scenario “receive-only” would prevent the stub router from becoming a transit router incase of link failure in your core and still have redundancy from the stubs perspective.
  2. When using a route server connected to an eBGP network
  3. When using DMVPN spokes.

I hope this has been helpful!


1 Like

Hi Rene,

I know this is an old post but I believe your statement to be incorrect as EIGRP stub routers do receive queries as queries are sent as multicast in the first instance. They reply to the majority of queries with an infinite metric, unless of course they are networks the stub router is allowed to advertise (summary, connected, static, redistributed or a leak-map - depending on configuration).

Let me know if i’m not correct here.

Hello Kevin

Thanks for bringing this up. It seems that it is an issue of terminology. You are right that a stub router will indeed receive queries from neighboring routers that lose a network. However, an EIGRP stub router will not process these queries. This, I believe, was Rene’s meaning as well. Specifically, Cisco states the following:

The stub device responds to all queries for summaries, connected routes, redistributed static routes, external routes, and internal routes with the message “inaccessible.”

This was taken from the following Cisco Documentation that contains additional information about EIGRP stub networks.

I hope this has been helpful!



Yes this is pretty much exactly what I said in my post.

There are some specific use cases where you will need to allow a stub router to process queries (such as multihomed branch offices in a DMVPN deployment where if R1’s uplink fails, you have to reconverge through R2 etc).

1 Like

Hello, I have a question about the example with just R1 and R2.

If I’m not mistaken…
When R1 is not a stub and you shut down R2’s loopback, R2 sends a query to R1. However when R1 is a stub and you shut down R2’s loopback, R1 sends a query to R2.

Why does R1 send a query when it is a stub, but not when it isn’t?

Thanks for any help!


One more question, sorry.

Perhaps IOS has changed since this post was created, but when I enable ‘eigrp stub redistributed’, it doesn’t also enabled connected and summary. I just appears in ‘show run’ as ‘eigrp stub redistributed’. Is that odd, or just a change in IOS?

Hello Jeremy

This is a great question and it brings up some subtle points of how EIGRP functions. Queries are subject to the split horizon rule just like advertisements are. If you get a query for a network from an interface, you never send out a query for that same network from that interface.

So in the first case, when R2 lost connectivity to the loopback network, it sent a query to R1 for an alternate route to that destination. This is because in this case, R1 is not a stub. Because R1 got a query from R2, it did not send a query back to R2 via that interface due to the split horizon rule.

Now in the second case R2 knows that R1 is a stub so it doesn’t sent a query for the lost network. When R1 learns of the lost connectivity to the network (via updates etc), it hasn’t received a query for that network, so it can send a query to R2 without breaking the split horizon rule.

I hope this has been helpful!


1 Like

Thank you so much Laz, that totally makes sense now. I didn’t realize that split-horizon applies to queries too, but it makes sense that it does.

1 Like

Hi Lazaros
If i configure Stub redistributed, as Rene has said that it includes Connected and Summary,
Can we do:

R1 (config-router)#eigrp stub redistributed 
R1 (config-if)#ip summary-address eigrp 12

Hello Muhammad

Actually, the eigrp stub redistributed command includes routes learned from other sources, including other routing protocols, directly connected, as well as summary routes. If you then configure the ip summary-address command on a particular interface, then this information will indeed be advertised into the stub.

I hope this has been helpful.


Thank you Lazaros,
It is clear for me, and I have to say that I am one of the luckiest person that I have Lazaros.


Hello Rene,

I took some time to lab this “eigrp stub redistributed” out and found some interesting parts (if only “redistributed” is in it without “connected” and “summary”)
The Stub router will only advertise if you use the eigrp “redistribute” command with an foreign routing protocol or another EIGRP AS it wont advertise the route if you use “redistribute connected” or “redistribute static” you need to manually type “stub connected redistributed static” to do that.

Update: I just did a “show version” and it’s IOS release 12.4

Best regards,


Does stub redistributed configuration include static routes??

No It Doesn’t , I’ve tested it now in GNS3 :slight_smile:

1 Like

I too can confirm that when labbing the redistributed stub that only redistributed routes are advertised. This was running 15.2(4)M7 in GNS3

1 Like

@ReneMolenaar I lab this, and when i put the eigrp stub redistributed it did’nt add the connected summary, and the router redistributed the connected routes fine. I have a loopback in R5 being redistributed. is subnetted, 1 subnets
D EX [170/156160] via, 00:00:50, FastEthernet0/0
R5(config-if)#do sh run | be router
router eigrp 123
 redistribute connected
 eigrp stub redistributed

Hello Erick

According to the Cisco IOS Command Reference, using the redistributed keyword will only advertise routes learned via other routing protocols. Specifically, there are five keywords that can be used to determine what kinds of routes will be advertised. These are described like so in the above-mentioned Cisco documentation:

  • The connected keyword permits the EIGRP stub routing feature to send connected routes. If the connected routes are not covered by a network statement, it may be necessary to redistribute connected routes with the redistribute connected command under the EIGRP process. This option is enabled by default.
  • The static keyword permits the EIGRP stub routing feature to send static routes. Without the configuration of this option, EIGRP will not send any static routes, including internal static routes that normally would be automatically redistributed. It will still be necessary to redistribute static routes with the redistribute static command.
  • The summary keyword permits the EIGRP stub routing feature to send summary routes. Summary routes can be created manually with the summary address command or automatically at a major network border router with the auto-summary command enabled. This option is enabled by default.
  • The redistributed keyword permits the EIGRP stub routing feature to send other routing protocols and autonomous systems. Without the configuration of this option, EIGRP will not advertise redistributed routes.
  • The leak-map keyword permits the EIGRP stub routing feature to reference a leak map that identifies routes that are allowed to be advertised on an EIGRP stub router that would normally have been suppressed.

So each type of route is advertised using a different keyword. You can use any combination of the above five in the command, such as eigrp stub static connected redistributed for example.

According to the documentation, the redistribute keyword does indeed advertise ONLY routes learned from other protocols.

I hope this has been helpful!


1 Like