11-12-2008 05:15 PM - edited 03-04-2019 12:18 AM
Hello,
I want to block the redistribution of the 172.16.0.0/16 to the neighbor routers. Important is that I only wnat to block the 172.16.0.0/16 (supernet) but not subnets like 172.16.1.0/24, 172.16.2.0/24 and so on.
I am not quite sure which acl statement to use.
router eigrp 1111
distribute-list out 20
access-list 20 deny 172.16.0.0 0.0.0.0
access-list 20 permit any
Will this do the intented?
thank you for your help in advance.
Best regards,
Andreas
11-12-2008 06:38 PM
Andreas,
To take into account subnet information, I much rather use prefix-list over ACL.
ip prefix-list NET172 deny 172.16.0.0/16
ip prefix-list NET172 permit 0.0.0.0/0 le 32
HTH,
__
Edison.
Please rate helpful posts
11-17-2008 05:26 PM
Hello,
thank you for your input and I managed to do it with the access lists.
Best regards,
Andreas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide