Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

EIGRP - redistribute static

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
Hall of Fame Super Bronze

Re: EIGRP - redistribute static

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

HTH,

__

Edison.

Hall of Fame Super Silver

Re: EIGRP - redistribute static

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

New Member

Re: EIGRP - redistribute static

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

667
Views
6
Helpful
3
Replies