[show|clear] statistics

Syntax

[show|clear] statistics

Options

show

Displays the current match (hit) count per ACE for the specified IPv6 or IPv4 static ACL assignment on a specific interface.

clear

Resets ACE hit counters to zero for the specified IPv6 or IPv4 static ACL assignment on a specific interface.

Subcommands

aclv4 acl-name-str port port-#

aclv4 acl-name-str vlanvid [in|out|vlan-in|vlan-out]

aclv6 acl-name-str port port-#

aclv6 acl-name-str vlanvid [in|out|vlan-in|vlan-out]

aclv6 acl-name-str tunnel tunnel-id [in|out]

Example output

IPv6 and IPv4 ACL activity

Switch# show statistics aclv6 TEST-01 vlan 20 <vlan-in|vlan-out>
 HitCounts for ACL IPV6-ACL
 Total
(12) 10 permit icmp ::/0 fe80::20:2/128 128
(6)  20 deny tcp ::/0 fe80::20:2/128 eq 23 log
(41) 30 permit ipv6 ::/0 ::/0

Switch# show statistics aclv4 102 vlan 20 <vlan-in|vlan-out>
 
 HitCounts for ACL 102
 Total
(4)   10 permit icmp 10.10.20.3 0.0.0.0 10.10.20.2 0.0.0.0 8
(8)   20 deny icmp 0.0.0.0 255.255.255.255 10.10.20.2 0.0.0.0 8
(2)   30 permit tcp 10.10.20.3 0.0.0.255 10.10.20.2 0.0.0.255 eq 23
(2)   55 deny tcp 0.0.0.0 255.255.255.255 10.10.20.2 0.0.0.0 8
(125) 60 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255