12-29-2022 08:14 AM
Hello:
We are deploying VLAN ACLs (VACLs) that are IP based ACLs on several VLANs within our 3850 switches. This solution is working, but since the ACL is applied on the VLAN (layer-2), logging is not permitted in the defined ACEs. What is the easiest way/method in order to view hits on ACLs used in this manner? I remember seeing something related to "ip accounting" at one point but am looking for some good examples for config to allow for viewing data for t-shooting reasons.
Thanks,
Jesse
12-29-2022 08:41 AM
Hi,
Usually, show access-list <name or number>
or
show ip access-list <name or number>
should show you that. See table-2 in this link for more info
HTH
12-29-2022 08:51 AM
Yes, I understand the standard 'show access-list xxx' commands. However in this case (layer-2 / VACL based), the matches are not incremented as a L3/VTY based ACL would be. As mentioned, the VACL is working yet just looking to view matches / hits somehow.
Thanks again,
Jesse
12-29-2022 08:53 AM
I think the VACL have log but the MAC ACL have not log.
please check above guide.
12-29-2022 09:01 AM
Your referencing IOS code / Cat6500 here ... VACL access-log cmds are not offered on Cat3K (3650/3850) IOS-XE code.
12-29-2022 09:42 AM
OK, I will run lab today and check.
12-29-2022 03:20 PM
I run lab and with action drop you can add log and you can see I success get log for drop packet between two host bridge in VLAN, and VACL deny this connection.
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