C
HAPTER
28
| Access Control Lists
ACL Information
– 958 –
clear access-list
hardware counters
This command clears the hit counter for the rules in all ACLs, or for the
rules in a specified ACL.
SYNTAX
clear access-list hardware counters [acl-name]
acl-name – Name of the ACL. (Maximum length: 32 characters)
COMMAND MODE
Privileged Exec
EXAMPLE
Console#clear access-list hardware counters
Console#
show access-group This command shows the port assignments of ACLs.
COMMAND MODE
Privileged Executive
EXAMPLE
Console#show access-group
Interface ethernet 1/2
IP access-list david
MAC access-list jerry
Console#
show access-list This command shows all ACLs and associated rules.
SYNTAX
show access-list
[[arp [acl-name]] |
[ip [extended [acl-name] | standard [acl-name]] |
[ipv6 [extended [acl-name] | standard [acl-name]] |
[mac [acl-name]] | [tcam-utilization] | [hardware counters]]
arp – Shows ingress or egress rules for ARP ACLs.
hardware counters – Shows statistics for all ACLs.
26
ip extended – Shows ingress or egress rules for Extended IPv4
ACLs.
ip standard – Shows ingress or egress rules for Standard IPv4
ACLs.
ipv6 extended – Shows ingress or egress rules for Extended IPv6
ACLs.
26. Due to a hardware limitation, this option only displays statistics for permit rules.