Control redistribution: Route-map vs. distribute list

From: Shaun Gomez (4g1vn) <shaun.gomez_at_gmail.com>
Date: Mon, 10 Oct 2011 23:20:12 -0400

So here is the example.

Redistribute EIGRP 4 into EIGRP 100 but, filter routes is 24.234.0.0/24 *
range* from R2 into the rest of EIGRP 100 routing domain.

Solution #1 (my first choice):

Router eigrp 100
Redistribute eigrp 4 route-map FILTER

ip prefix-list FILTER seq 5 deny 24.234.0.0/24 le 32
ip prefix-list FILTER seq 10 permit 0.0.0.0/0 le 32
!
route-map FILTER permit 10
 match ip address prefix-list FILTER

Solution #2 (text book answer):

router eigrp 100
redistribute eigrp 4
distribute-list 1 out serial 0/0/0

access-list 1 deny 24.234.0.0 0.0.0.255
access-list 1 permit any

This issue I have with this is there are a bunch of 24.234.0.x/30 prefixes
that are supposed to be blocked according to the "sh ip route eigrp" output.

Your thoughts on distribute-list vs. route-map. This workbook is dated 2007
so, it may be a little old as they are not using prefix lists in most
examples.

Thanks!

Blogs and organic groups at http://www.ccie.net
Received on Mon Oct 10 2011 - 23:20:12 ART

This archive was generated by hypermail 2.2.0 : Tue Nov 15 2011 - 13:10:29 ART