EIGRP - redistribute static

Unanswered Question
Jun 10th, 2009
User Badges:

On our core switch we have a default route to the Internet as well as a number of static routes to VPN end hosts (via a firewall). When we redistribute static (eigrp), do all static routes get redistributed to the the eigrp routing table? even default routes to the Internet?

Is it best practice not to redistribute all routes, how would you block as well as other static (or connected) routes?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (2 ratings)
Edison Ortiz Wed, 06/10/2009 - 12:09
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Yes, all static routes will be redistributed into EIGRP. You can selectively redistribute routes into EIGRP by using a route-map.




Giuseppe Larosa Wed, 06/10/2009 - 12:15
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Ron,

you can decide what routes are injected in EIGRP domain by using a route-map:

router eigrp 100

default-metric 10000 1000 255 1 1500

redistribute static route-map selected_routes

route-map selected_routes permit 10

match ip address prefix routes_to_eigrp

you can use a prefix-list to specify what routes you want to be seen in the EIGRP domain or you can use an access-list.

don't add an empty second route-map block or every route will be redistributed:

the route-map like an ACL has an implicit deny any at the end and only routes matching the prefix-list or acl will be redistributed

to allow only routes in network 10.0.0/8 with prefix length between /25 and /23 you can use

ip prefix-list routes_to_eigrp permit ge 23 le 25.

Actually default static routes are redistributed into EIGRP.

Hope to help


kishan1984 Tue, 06/16/2009 - 01:14
User Badges:

you can also use distribute list static out 5 (where 5 is access-list no.),define all interesting traffic in access-list 5.


This Discussion