clear access-list accounting
clear access-list accounting
all
clear access-list accounting
interface-type
interface-name
[
in
|
out
]
[
IPv4
|
IPv6
]
- interface-type interface-name
-
Specifies the interface type (Ethernet, virtual interface, or LAG) and the ID of the interface.
- in
- Clears statistics of the inbound ACLs. If no direction is set, statistics for both inbound and outbound are cleared.
- out
- Clears statistics of the outbound ACLs. If no direction is set, statistics for both inbound and outbound are cleared.
- IPv4
- Clears statistics for IPv4 ACLs. Statistics for both IPv4 and IPv6 ACLs are cleared if this value is not set.
Privileged EXEC mode
The following example clears ACL accounting statistics for all configured ACLs.
device# clear access-list accounting all
The following example clears ACL accounting statistics, for inbound ACLs, for a specific port.
device# clear access-list accounting ethernet 1/1/5 in
The following example clears ACL accounting statistics, for outbound IPv6 ACLs, for a specific port.
device# clear access-list accounting ve 100 out ipv6
The following example clears ACL accounting statistics, for outbound IPv4 ACLs, for a specific port.
device# clear access-list accounting ve 100 out ipv4
The following example clears ACL accounting statistics, for inbound ACLs, for a specific LAG.
device# clear access-list accounting lag 1 in
| Release version | Command history |
|---|---|
| 08.0.10 | This command was introduced. |
| 08.0.61 | This command was modified to add lag lag-id options. |
| 08.0.70 | This command was modified to allow clearing of statistics of outbound ACLs. |