Displaying IPv4 ACL Configuration
Displaying IPv4 ACL Configuration
You can display the ACLs that are configured on the switch, and you can display the ACLs that have
been applied to interfaces.
When you use the ip access-group interface configuration command to apply ACLs to a Layer 2
interface, you can display the access groups on the interface. You can also display the MAC ACLs
applied to a Layer 2 interface. You can use the privileged EXEC commands as described in
to display this information.
Table 31-2
Commands for Displaying Access Lists and Access Groups
Command
show access-lists [number | name]
show ip access-lists [number | name]
show running-config [interface interface-id]
show mac access-group [interface interface-id]
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
31-26
Purpose
Display the contents of one or all current IP and MAC address access lists
or a specific access list (numbered or named).
Display the contents of all current IP access lists or a specific IP access list
(numbered or named).
Displays the contents of the configuration file for the switch or the
specified interface, including all configured MAC and IP access lists and
which access groups are applied to an interface.
Displays MAC access lists applied to all Layer 2 interfaces or the specified
Layer 2 interface.
Chapter 31
Configuring Network Security with ACLs
Table 31-2
OL-26520-01