Viewing the content of all ACLs on the switch

This command lists the configuration details for the IPv4 and IPv6 ACLs in the running-config file, regardless of whether any are actually assigned to filter IPv4 traffic on specific VLANs.


show access-list config

List the configured syntax for all IPv4 ACLs currently configured on the switch.


Notice that you can use the output from this command for input to an offline text file in which you can edit, add, or delete ACL commands.

This information also appears in the show running display. If you executed write memory after configuring an ACL, it appears in the show config display.

For example, with two ACLs configured in the switch, you will see results similar to the following:

An ACL configured syntax listing

switch(config)# show access-list config

ip access-list standard "List-43"
   10 deny
   20 deny
   30 permit
ip access-list extended "111"
   10 permit tcp
   20 permit tcp
   30 deny ip log
   40 deny ip