2-350
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
show ip access-lists
show ip access-lists
Use the show ip access-lists privileged EXEC command to display IP access control lists (ACLs)
configured on the switch.
show ip access-lists [name | number] [ | {begin | exclude | include} expression]
Syntax Description
Command Modes Privileged EXEC
Command History
Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples This is an example of output from the show ip access-lists command:
Switch# show ip access-lists
Standard IP access list testingacl
permit 10.10.10.2
Standard IP access list wizard_1-1-1-2
permit 1.1.1.2
Extended IP access list 103
permit tcp any any eq www
Extended IP access list CMP-NAT-ACL
Dynamic Cluster-HSRP deny ip any any
Dynamic Cluster-NAT permit ip any any
permit ip host 10.245.155.128 any
permit ip host 10.245.137.0 any
permit ip host 10.146.106.192 any
permit ip host 10.216.25.128 any
permit ip host 10.228.215.0 any
permit ip host 10.221.111.64 any
permit ip host 10.123.222.192 any
permit ip host 10.169.110.128 any
permit ip host 10.186.122.64 any
name (Optional) ACL name.
number (Optional) ACL number. The range is 1 to 199 and 1300 to 2699.
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.1(6)EA2 This command was introduced.