cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
0
Helpful
1
Replies

distribute-list for eigrp, ospf, rip, etc..

fujin.huang
Level 1
Level 1

Hi, I know that in ospf, "distribute-list in" command does not prevent the routes being propagate out, it only prevents the route being install in the local routing table.

But when I do the same test for eigrp and rip, "distribute-list in" seems also filtering the route being advertised to the next hop. Is that true??

Below is an example configuration:

(10.1.1.0)-RouterA-(11.1.1.0)-RouterB-(12.1.1.0)-RouterC

RouterA:

router eigrp 100

no auto-summary

network 10.1.1.0

network 11.1.1.0

RouterB:

router eigrp 100

no auto-summary

network 11.1.1.0

network 12.1.1.0

distribute-list 1 in

access-list 1 deny 10.1.1.0 0.0.0.255

access-list 1 permit any

RouterC:

router eigrp 100

no auto-summary

network 12.1.1.0

RouterC doesn't see the route 10.1.1.0 !! why?

1 Reply 1

JEREMY GRAY
Level 1
Level 1

Router B is filtering 10.1.1.0 inbound from A. If it doesn't learn this route it can't advertise it to Router C.