Filtering EIGRP Redistributed Static Routes

Unanswered Question
Apr 3rd, 2009

I want to filter a redistributed static host route - /32 from being advertised through EIGRP to a neighboring router.

If I create an acces-list like this:

access-list 10 deny 10.l.1.1

access-list 10 permit any

Here is the static route:

ip route

ip route

Here is the routing proto:

router eigrp 1

redistribute static

distribute-list 10 out static

Only the host route is filtered....and the second /24 gets through? Do distribute-lists normally filter redistributed static routes or just the networks listed under EIGRP?

Thank you!

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
lamav Fri, 04/03/2009 - 13:23

Personally, I like using a route map attached to the redistribute statement.

route-map REDIS.STATIC deny 10

match ip address 10

route-map REDIS.STATIC permit 20

access-list 10 permit

router eigrp 1

redistribute static metric 1000000 10 255 1 1500 route-map REDIS.STATIC

ip route

ip route gets redistributed, does not.



royalblues Fri, 04/03/2009 - 14:24

It actually depends on the configuration

For eg..

distribute-list 10 out static will restrict the static routes to be redistributed (if redistribute static is configured) It still advertises the Prefixes that are learnt as a result of turning on EIGRP using network statements

on the other hand distribute-list 10 out will filter out everything being advertised from every interface

eg.. R1(e0/1) -- e0/0(R2)


router eigrp 1

redistribute static




distribute-list 1 out static

distribute-list 1 out Ethernet0/0

no auto-summary


ip http server

ip classless

ip route

access-list 1 permit


r2#sh ip route

Gateway of last resort is not set is subnetted, 1 subnets

D [90/409600] via, 00:01:50, Ethernet0/0 is subnetted, 1 subnets

D [90/409600] via, 00:01:50, Ethernet0/0 is subnetted, 1 subnets

C is directly connected, Ethernet0/0


As you see, eventhough the distribute-list is configured since it has a static keyword, only that prefix gets filtered.


myounger Fri, 04/03/2009 - 14:43

I tried filtering 6 static routes last night using an access-list, but did not use the "static" keyword and it did not appear to work. The neighbor router never dropped the route.Since this is a third-party managed router I could not clear the eigrp neighbor or route table to make it refresh. How long does it hold on to an advertised route and then drop based on not receiving it. My static routes were not listed under the EIGRP routing process. Did I not wait long enough for the route to drop out. I know my access-list was correct.

royalblues Fri, 04/03/2009 - 14:49

Actually the moment you change the configuration of the distribute-list, the router would send a good bye message and reestablish the adjacency so it is almost immediate

If you want to advertise only a set of static routes, you can use a route-map directly with redistribution as suggested by Victor


lamav Fri, 04/03/2009 - 15:01

You also didnt establish a seed metric in your config from last night.

Thats probably why it didnt work.

Did you notice that I added that?


This Discussion