show access-list ports

Syntax

show access-list ports [all|port-list]

Description

Lists the identification and types of current static port ACL assignments to individual switch ports and trunks, as configured in the running-config file. (The switch allows one static port ACL assignment per port.)

Example output

The following output shows IPv4 and IPv6 ACLs configured on various ports and trunks on the switch:

Switch(config)# show access-list ports all

 Access Lists for Port 1 1
 Inbound Ipv6: List-01-Inbound

 Access Lists for Port 12 2
 Inbound : 101
 Type    : Extended
 Inbound Ipv6: Accounting

 Access Lists for Port Trk2 3
 Inbound Ipv6: Accounting

 Access Lists for Port Trk5 4
 Inbound : Marketing
 Type    : Extended 

1 An IPv6 ACL is filtering inbound traffic on port 1

2 Both an IPv4 ACL and an IPv6 ACL are filtering inbound IPv4 and IPv6 traffic, respectively, on port 12

3 An IPv6 ACL is filtering inbound IPv6 traffic on Trunk 2 (Trk2)

4 An IPv4 ACL is filtering inbound IPv4 traffic on Trunk 5 (Trk5)