cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
394
Views
0
Helpful
2
Replies

Router Filtering in EIGRP

Guys,

 

I am facing one issue while doing route filtering via distribute list.

 

Distribute list only blocking EIGRP internal routes and allowing external routes to get advertised.

can someone please let me know that it will work for internal routes?

 

Below is config.

route-map BGP-TO-EIGRP permit 10

match ip address prefix-list RFC1918
route-map BGP-TO-EIGRP permit 20
match ip address prefix-list DEFAULT


router eigrp 100
!address-family ipv4 vrf abc
distribute-list route-map BGP-TO-EIGRP out Tunnel2

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

 

When you say internal routes do you mean EIGRP internal routes or more likely looking at your configuration private RFC 1918 routes ? 

 

Either way difficult to say as you have not posted prefix lists nor shown any redistribution commands. 

 

Jon

Yes i mean EIGRP internal routes.

 

topology is like below 

                            R4

                             |

                            BGP

                             |

R1-------------R2--------------R3

 

R2 is hub and R1\R2 as spokes site.

EIGRP is running over dmvpn

R1 is sending one internal and one external EIGRP router to R2.

 

R2 has distribute list configured to send only RFC 1918 and default route (leaning from R4)  to send to other spokes and to block all others routes,but only internal route is getting blocked.

 

Relevant configuration below

 

router eigrp 100
!
address-family ipv4 vrf abc
redistribute bgp 1000 metric 100000 100 1 255 1500 route-map BGP-TO-EIGRP
passive-interface default
no passive-interface Tunnel1
distribute-list route-map BGP-TO-EIGRP out Tunnel1

 

int t1

no ip next-hop-self eigrp 100
no ip split-horizon eigrp 100

 

route-map BGP-TO-EIGRP permit 20
match ip address prefix-list RFC1918
route-map BGP-TO-EIGRP permit 30
match ip address prefix-list DEFAULT

 

ip prefix-list RFC1918
seq 5 permit 10.0.0.0/8
seq 10 permit 172.16.0.0/12
seq 15 permit 192.168.0.0/16

 

ip prefix-list DEFAULT
seq 5 permit 0.0.0.0/0

Review Cisco Networking for a $25 gift card