cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3598
Views
8
Helpful
23
Replies

EIGRP route filtering, use distribute-list, or ip sumary-address

mbroberson1
Level 3
Level 3

I have a situation where I want to filter EIGRP routes being sent to a down stream switch (Layer 3). In this senario we have a 6513 sending routes to a down stream 3560E configured as a EIGRP stub-connected. My question is what is the preferred method to filter the EIGRP routes and only send a EIGRP default route to the downstream 3560E? Is it best to use a distribute list or the ip summary-address command? I know they pretty much do about the same thing. I have heard that a distribute-list is less risky since it does not place a default route to null0 in EIGRP topology route table.

Thanks

2 Accepted Solutions

Accepted Solutions

You posted the output of show ip eigrp topology. Can you post the output of 'show ip route 0.0.0.0'?

View solution in original post

Brandon

First: I thought from previous posts that the router in question was learning a default route. From the recent post I see that it is the router that is doing the redistribution. Even with this change in the environment I believe that our previous answers were valid and that the summary address with adjusted AD is a good solution.

Second: I agree with Sundar that seeing the content of the routing table would be helpful.

I do note in your post that the remote stub router is correctly learning the default route from your router:

P 0.0.0.0/0, 2 successors, FD is 28416

via 10.201.2.3 (28416/2816), FastEthernet1/0/8

so I believe that this demonstrates that our suggestion is a workable solution.

Third: the notes from the config guide do correctly identify the risk of using a summary address to create a default route. By default the summary address creates a route to null0 with a very favorable AD (defaults to 5 on the local router). As long as you take our advice and make the AD of the summary address greater than the AD of the other default route then things will work as you want them to.

If it makes you more comfortable to follow the suggestion from the config guide and to use a distribute list to filter out all advertisements other than the default route then go ahead and do this. I am convinced that both approaches (if carefully implemented) will work. I made a suggestion that I though was perhaps more operationally simple (and perhaps slightly more efficient - though I have no hard data to support that). Perhaps the author of the config guide is considering something that we have not considered. The stated problem with the summary address is the potential to displace a "real" default route - and we have demonstrated a way to prevent that problem. Perhaps there is some other aspect that they considered but did not specify. I believe that both will work and that you can be comfortable with either alternative.

I wonder if any of the senior Cisco engineers who participate in this forum might have thoughts to share?

HTH

Rick

HTH

Rick

View solution in original post

23 Replies 23

Richard Burts
Hall of Fame
Hall of Fame

Brandon

Is there a viable default route on the router where your EIGRP process is runnig? If there is a default route there then I agree with Sundar that it is best to use the summary address command. I might not use the Administrative Distance of 255, but you do want to make sure that the Administrative Distance of the entry based on the summary address is higher than the Administrative Distance of the summary route. (and if there is not a viable default route then the distribute list will not advertise one).

HTH

Rick

HTH

Rick

Rick,

Thanks for your response. Yes we do have a defaul route 0.0.0.0 0.0.0.0 10.x.x.x pointing to our default gateway (Firewall). Can you please briefly explain what you mean by:

"but you do want to make sure that the Administrative Distance of the entry based on the summary address is higher than the Administrative Distance of the summary route"?

Thanks

Brandon

How you are learning your default route will assign it an administrative distance. If it is a static route then its AD defaults to 1. If it is learned via EIGRP it would default to 90, etc. There is an optional parameter that you can specify when configuring the EIGRP summary address and you want to use that parameter to make sure that the summary you are configuring has AD higher than your real default route. The potential issue is that the summary address command will default to an AD of 5 and that could displace the default route that you really want to use.

HTH

Rick

HTH

Rick

Rick,

On the 6513 giving the summary we are also using redistribute static under the EIGRP process. When you do this and also advertise a default summary to a down stream it makes the eigrp ad 170 and is thus flagged as an external route. On my 6513 I configured my summary advertisement as 0.0.0.0 0.0.0.0 250. Is the 250 (AD specified) the optional parameter you mention to use?

Thanks,

Brandon

Brandon

Yes the 250 is the AD and is the optional parameter that I mentioned.

HTH

Rick

HTH

Rick

I would suggest using 'ip summary-address' command because of ease of management and configuration simplicity. To stop the router from installing a null route set the admin distance to 255 in the 'ip summary-adress' command.

Eg.

ip summary-address eigrp 1 0.0.0.0 0.0.0.0 255 --> changes the admin distance to 255 (default is 5).

HTH

Sundar

When I use 255 as the AD it still installs a null route.

Attached is a config from my lab showing the config snippets and eigrp topology.

You posted the output of show ip eigrp topology. Can you post the output of 'show ip route 0.0.0.0'?

This is straight from Cisco IP routing 12.4 guide about using the summary-address command vs. a distribute-list. See what you think.

You should not use the ip summary-address eigrp summarization command to generate

the default route (0.0.0.0) from an interface. This causes the creation of an EIGRP summary

default route to the null 0 interface with an administrative distance of 5. The low

administrative distance of this default route can cause this route to displace default routes

learned from other neighbors from the routing table. If the default route learned from the

neighbors is displaced by the summary default route, or if the summary route is the only

default route present, all traffic destined for the default route will not leave the router,

instead, this traffic will be sent to the null 0 interface where it is dropped.

The recommended way to send only the default route out a given interface is to use a

distribute-list command. You can configure this command to filter all outbound route

advertisements sent out the interface with the exception of the default (0.0.0.0).

Brandon

First: I thought from previous posts that the router in question was learning a default route. From the recent post I see that it is the router that is doing the redistribution. Even with this change in the environment I believe that our previous answers were valid and that the summary address with adjusted AD is a good solution.

Second: I agree with Sundar that seeing the content of the routing table would be helpful.

I do note in your post that the remote stub router is correctly learning the default route from your router:

P 0.0.0.0/0, 2 successors, FD is 28416

via 10.201.2.3 (28416/2816), FastEthernet1/0/8

so I believe that this demonstrates that our suggestion is a workable solution.

Third: the notes from the config guide do correctly identify the risk of using a summary address to create a default route. By default the summary address creates a route to null0 with a very favorable AD (defaults to 5 on the local router). As long as you take our advice and make the AD of the summary address greater than the AD of the other default route then things will work as you want them to.

If it makes you more comfortable to follow the suggestion from the config guide and to use a distribute list to filter out all advertisements other than the default route then go ahead and do this. I am convinced that both approaches (if carefully implemented) will work. I made a suggestion that I though was perhaps more operationally simple (and perhaps slightly more efficient - though I have no hard data to support that). Perhaps the author of the config guide is considering something that we have not considered. The stated problem with the summary address is the potential to displace a "real" default route - and we have demonstrated a way to prevent that problem. Perhaps there is some other aspect that they considered but did not specify. I believe that both will work and that you can be comfortable with either alternative.

I wonder if any of the senior Cisco engineers who participate in this forum might have thoughts to share?

HTH

Rick

HTH

Rick

Rick,

I certainly appreciate you and Sundar extremely helpful insight. I noted you both for credit on the solution. I like you would like to hear input for senior Cisco engineers who participate in this forum if any. It seems like most things Cisco there is no real cut best practice and always an exception to the rule. ;-)

HTH

Brandon

There is no hard and fast rule in this case.... It's a matter of preference, which config you like better, and which one you think is "more obvious." THe summary with the admin distance is the shorter config, but the less common, so there are advantages on both sides.

There are some who would not recommend doing this with an admin distance of 255, which prevents the discard route from being installed at all, because if you lose the "underlying" route, then it's possible to build routing loops pretty easily. OTOH, using the admin distance of 250, rather than 255, is safe from these sorts of problems.

So, no hard and fast rule either way.

:-)

Russ

Russ,

Thanks I really appreciate the response.

HTH,

Brandon

Hi Russ,

I have some points I'd like to mention, based on experience with this issue in our network, and I also have a related question:

- Regarding the use of ip summary-address vs distribution list, and comparing the administrative overhead to manage them, it really is the same. With the ip summary-address, you need to apply this command to every interface you add to the router where you want to only send the default route. With the distribute list, you create the list policy once, and then add a distribute-list entry to your eigrp process for every interface you add where you only want to send the default route. So, for ongoing changes, you still need to add an entry per new interface, it's just a matter of whether you put an ip summary-address command on an interface or a distribute-list command into eigrp.

- Regarding a default route on the stub router, what I do in conjunction with the above (we use the distribute-list method) is to create a default route on each stub router (ip route 0.0.0.0 0.0.0.0 ww.xx.yy.zz 200) with an AD of 200. That way, the stub router will have a static 'default' route (AD=1) that it can use if it does not learn an advertised default (AD=90) from eigrp. If you don't change the AD of the default route on the stub, it will never install the eigrp default route into it's routing table, so all the work at the hub router to create and advertise only a default route to the stub routers will be a waste of time.

Finally, I have a question regarding the AD for a summary-address. By default, the AD for the summary route is 5. However, I am trying to understand what issues I should be concerned with regarding this AD, as compared to AD=90 or AD=130 for my eigrp internal and external routes. For a normal network, where I have numerous IP subnets connected to a regional hub, and I want to advertise a few summary routes from the hub to other hubs which will cover the numerous IP subnets, is there anything to gain by changing the AD of the summary route from 5 to something lesser than 90 or greater than 90? I am assuming that the reason a summary route has an AD of 5 since it is something explicitly configured, meaning that someone who should 'know' their network has created this explicit route summary, so it should be trusted more than a normal learned route from eigrp (AD=90)? If this assumption is correct, is the AD=5 designed to tell the router performing the summarization that it should trust this summary above the learned routes, or is it something that the eigrp neighbors benefit from? I've tested it in a lab environment and see the summary route received by the eigrp neighbors with an AD=90, so it looks like the AD=5 preference is really only for the advertising router, to choose advertising the summary over the more specific routes?

Any clarification for this issue is greatly appreciated.

Ron Buchalski

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card