02-22-2002 09:03 AM - edited 03-01-2019 08:36 PM
is there anything wrong with putting this is a distribution list:-
access-list 12 permit 172.16.158.0 0.1.255.255
when I enter it, it is accepted but when I view config it is shown as 172.16.0.0. and not 172.16.158.0.
Any ideas?
02-22-2002 09:27 AM
It shows up that way because your wildcard mask says to. 0.1.255.255 says ignore the final two octets and the lowest bit of the second. Match only the first octet and the first seven bits of the second.
02-22-2002 09:39 AM
I think I tried 0.254.255.255 as well and got the same result. Is it something to do with the access-list being below 100?
02-22-2002 10:12 AM
Try 0.0.0.255 as a wildcard
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