08-06-2012 12:16 PM - edited 03-04-2019 05:11 PM
HI.
I was wondering how much overlap there Is between configuring a router as a stub and using a distribute-list.Are there cases where a stub configuration can perform the same function as a distribute-list?
Solved! Go to Solution.
08-06-2012 03:35 PM
Are we talking about EIGRP or OSPF as the stub function on either protocol varies.
With that said, stub performs global filtering (all or nothing) while distribute-list you have a greater control of traffic being filtered. Also note; distribute-list is basically useless in OSPF since you can't filter LSA which such command.
08-06-2012 03:38 PM
Hello,
Principially, EIGRP Stub is a different mechanism than a distribute list. You could construct a distribute list that resembles the effects of EIGRP Stub but their underlying logic is different:
So with respect to filtering routes, yes, distribute lists can be tweaked to allow advertising precisely the same set of routes as would be, in a given situation, advertised by an EIGRP stub router. However, there is more to the EIGRP Stub functionality that distribute lists cannot cover.
Best regards,
Peter
08-08-2012 05:03 AM
It particularly says: "If an older version of code is deployed on the hub router, it will ignore the stub TLV and continue to send QUERY packets to the stub router. However, the stub router will immediately reply "inaccessible" to any QUERY packets, and will not continue to propagate them."
So you are saying that this is not exactly right?
This is probably referring to the "normal" stub use which also includes summarization from the hub to the spoke. When someone implements stub in a hub and spoke environment, there is almost never a reason to send many of the prefixes to the spoke and summarization is used in order to limit the knowledge of the specific routes. In that case, the statement above is true. This, of course, has nothing directly to do with it being defined as a stub. :-) There is nothing inherent to Stub behavior that makes it Reply any differently if it has knowledge. I could argue that we could have made this change as well, since a Reply doesn't really make sense in most cases, but that's not what we did.
Nice work!
08-06-2012 03:35 PM
Are we talking about EIGRP or OSPF as the stub function on either protocol varies.
With that said, stub performs global filtering (all or nothing) while distribute-list you have a greater control of traffic being filtered. Also note; distribute-list is basically useless in OSPF since you can't filter LSA which such command.
08-06-2012 06:31 PM
Hi.
Thank you!That's basically what I wanted to know.I was referring to EIGRP yes.
08-06-2012 03:38 PM
Hello,
Principially, EIGRP Stub is a different mechanism than a distribute list. You could construct a distribute list that resembles the effects of EIGRP Stub but their underlying logic is different:
So with respect to filtering routes, yes, distribute lists can be tweaked to allow advertising precisely the same set of routes as would be, in a given situation, advertised by an EIGRP stub router. However, there is more to the EIGRP Stub functionality that distribute lists cannot cover.
Best regards,
Peter
08-06-2012 06:30 PM
Hi.
Thanks.That makes things clearer !
08-06-2012 07:45 PM
One very minor correction to what Peter said. It's not really that important, but I thought Peter would appreciate the true implementation.
"Even if an EIGRP stub router receives a query, it immediately responds with infinite metric, without forwarding the query further"
This isn't actually right. An EIGRP stub router doesn't modify his own behavior as far as Queries and Replies are concerned. If he were to receive a Query and both had the prefix and didn't have a successor/feasible successor, he would send a Query to any non-stub peers. The power of stub comes from the fact that the majority of the time he will never receive the Query in the first place. Peter was absolutely correct in that regard.
Extra credit to whoever knows when it's appropriate for a stub router to receive a Query. :^)
Sent from Cisco Technical Support iPad App
08-06-2012 10:14 PM
Hello Don,
It's not really that important, but I thought Peter would appreciate the true implementation.
You bet I do! Thank you VERY much!
What you wrote is actually very interesting. It tends to slightly contradict this document:
http://www.cisco.com/en/US/technologies/tk648/tk365/technologies_white_paper0900aecd8023df6f.html
It particularly says: "If an older version of code is deployed on the hub router, it will ignore the stub TLV and continue to send QUERY packets to the stub router. However, the stub router will immediately reply "inaccessible" to any QUERY packets, and will not continue to propagate them."
So you are saying that this is not exactly right?
Extra credit to whoever knows when it's appropriate for a stub router to receive a Query. :^)
I would think of the following scenarios:
Do I miss anything?
Best regards,
Peter
08-08-2012 05:03 AM
It particularly says: "If an older version of code is deployed on the hub router, it will ignore the stub TLV and continue to send QUERY packets to the stub router. However, the stub router will immediately reply "inaccessible" to any QUERY packets, and will not continue to propagate them."
So you are saying that this is not exactly right?
This is probably referring to the "normal" stub use which also includes summarization from the hub to the spoke. When someone implements stub in a hub and spoke environment, there is almost never a reason to send many of the prefixes to the spoke and summarization is used in order to limit the knowledge of the specific routes. In that case, the statement above is true. This, of course, has nothing directly to do with it being defined as a stub. :-) There is nothing inherent to Stub behavior that makes it Reply any differently if it has knowledge. I could argue that we could have made this change as well, since a Reply doesn't really make sense in most cases, but that's not what we did.
Nice work!
08-08-2012 05:37 AM
Hello Donald, Peter
thanks for providing deeper information about the EIGRP stub feature.
The way the feature is usually described leads to think of a stub router answering to a query with a reply with infinite metric as suggested by Peter.
Rated as it deserves.
Best Regards
Giuseppe
08-08-2012 01:23 PM
Hello Don,
This is awesome! Rated as deserved - huge thanks!
Best regards,
Peter
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide