04-17-2005 04:45 PM - edited 03-03-2019 09:19 AM
I want to block routes coming from odd number networks from being advertised in my router. Example, I want to permit even routes from 150.100.x.0 where x is 16,18,20,22,24. Thanks
Solved! Go to Solution.
04-17-2005 05:00 PM
04-17-2005 05:00 PM
use this:
access-list 1 permit 150.100.0.0 0.0.254.0
Cheers,
Paresh.
04-17-2005 11:27 PM
Its proven working, I have tested it in my lab. Thanks a lot.
04-17-2005 09:11 PM
Hi,
I don't feel that you cann't define any ACL which matches only 16,18,20,22 and 24 with just one ACL wildcard mask except defining each entry explicitly to permit.
There is one more option to permit 16,18,20,22 and 24 given below but it even permits some other even networks too.
access-list 1 permit 157.100.0.0 0.0.14.255
Thank you,
Regards...
-Ashok.
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