24-22
Catalyst 2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter 24 Configuring Network Security with ACLs
Displaying ACL Information
Displaying ACLs
You can display existing ACLs by using show commands.
Beginning in privileged EXEC mode, follow these steps to display access lists:
This example shows all standard and extended ACLs:
Switch# show access-lists
Standard IP access list 1
permit 172.20.10.10
Standard IP ACL 10
permit 12.12.12.12
Standard IP access list 12
deny 1.3.3.2
Standard IP access list 32
permit 172.20.20.20
Standard IP access list 34
permit 10.24.35.56
permit 23.45.56.34
Extended IP access list 120
Extended MAC access list mac1
This example shows only IP standard and extended ACLs.
Switch# show ip access-lists
Standard IP access list 1
permit 172.20.10.10
Standard IP access list 10
permit 12.12.12.12
Standard IP access list 12
deny 1.3.3.2
Standard IP access list 32
permit 172.20.20.20
Standard IP access list 34
permit 10.24.35.56
permit 23.45.56.34
Extended IP access list 120
Command Purpose
Step 1
show access-lists [number | name] Show information about all IP and MAC address access lists or about a
specific access list (numbered or named).
Step 2
show ip access-list [number | name] Show information about all IP address access lists or about a specific IP
ACL (numbered or named).