Displays access control list (ACL) permit and deny logs for Layer 2 and Layer 3 packets and flows.
Before you begin
Enable ACL permit or deny logging and generate traffic that matches the logged rule.
Use the show acllog command to view ACL log entries.
Use the following syntax to view Layer 3 logs:
show acllog {permit | deny} l3 {pkt | flow} tenant tenant_name vrf vrf_name [filters] detail
Layer 3 filters include srcip , dstip , srcport , dstport , protocol , srcintf , start-time , and end-time .
Use the following syntax to view Layer 2 logs:
show acllog {permit | deny} l2 {flow | pkt} tenant tenant_name vrf vrf_name [srcintf source_interface] [vlan vlan_id] detail
The full command syntax is available on Generation 2 and later Cisco Nexus 9000 Series switches with Cisco Application Policy Infrastructure Controller (APIC) Release 3.2 or later. Generation 2 switch model names end in -EX or -FX. On Generation 1 switches or with releases earlier than Cisco APIC Release 3.2, use the supported base command syntax.
On supported switches with Cisco APIC Release 3.2 or later, you can also filter detailed output by using dstEpgName , dstmac , dstpctag , srcEpgName , srcmac , or srcpctag .