Viewing static port (and trunk) ACL assignments
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.)
Syntax:
show access-list ports <all|port–list>
Lists the current static port ACL assignments for ports and trunks in the running config file.
This information is in the
show running
output. Run the write memory command
write memory
after configuring an ACL in the
show config
output.
For example, the following output shows IPv4 and IPv6 ACLs configured on various ports and trunks on the switch:
Listing the ACL assignments for ports and trunks
Switch(config)# show access-list ports all Access Lists for Port 1 1 IPv6 Inbound : test IPv6 Outbound : test Access Lists for Port Trk1 2 IPv6 Inbound : test IPv6 Outbound : test
1 An IPv6 ACL is filtering inbound and outbound traffic on port 1
2 An IPv6 ACL is filtering inbound and outbound IPv6 traffic on Trunk 1(Trk1)