cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1295
Views
7
Helpful
3
Replies

EIGRP - redistribute static

ronshuster
Level 1
Level 1

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 0.0.0.0 0.0.0.0 as well as other static (or connected) routes?

3 Replies 3

Edison Ortiz
Hall of Fame
Hall of Fame

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

HTH,

__

Edison.

Giuseppe Larosa
Hall of Fame
Hall of Fame

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 10.0.0.0/8 ge 23 le 25.

Actually default static routes are redistributed into EIGRP.

Hope to help

Giuseppe

kishan1984
Level 1
Level 1

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