Administrator Guide

Layer 2 Switching Commands 290
Examples
The following example displays the configured IP ACLs.
console(config)#show ip access-lists
Current number of ACLs: 4 Maximum number of ACLs: 100
ACL Name Rules Count Interface(s) Direction
---------------- ----- ---------- ------------------------- ---------
TO_FRM 2 437 Gi1/0/26 Inbound
UPLINKS 5 0 Gi1/0/26 Outbound
Allow-192-168-0-x 3 7617636 Gi1/0/29 Inbound
The following example displays the IP ACLs configured on a device.
console#show ip access-lists asdasd
IP ACL Name: asdasd
Inbound Interface(s):
Gi1/0/7
Rule Number: 1
Action......................................... permit
Match All...................................... FALSE
Protocol....................................... 6(tcp)
Source IP Address.............................. 1.2.3.4
Source IP Mask................................. 0.0.0.0
Source Layer 4 Operator........................ Equal To
Source L4 Port Keyword......................... 43
Destination IP Address......................... any
TCP Flags...................................... FIN (Ignore)
SYN (Set)
RST (Ignore)
PSH (Ignore)
ACK (Ignore)
URG (Ignore)
ACL Hit Count...................................... 43981900
Rule Number: 2
Action......................................... permit
Match All...................................... FALSE
Protocol....................................... 6(tcp)
Source IP Address.............................. any
Destination IP Address......................... 1.2.3.4
Destination IP Mask............................ 0.0.0.0