reset packet-filter statistics
Use reset packet-filter statistics to clear the match statistics (including the accumulated statistics) of ACLs for packet filtering.
Syntax
reset packet-filter statistics interface [ interface-type interface-number ] { inbound | outbound } [ [ ipv6 ] { acl-number | name acl-name } ]
Views
User view
Predefined user roles
network-admin
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If you do not specify an interface, this command clears packet filtering ACL statistics on all interfaces.
inbound: Specifies the inbound direction.
outbound: Specifies the outbound direction.
ipv6: Specifies IPv6 ACLs.
acl-number: Specifies an ACL by its number.
2000 to 2999 for basic ACLs.
3000 to 3999 for advanced ACLs.
4000 to 4999 for Ethernet frame header ACLs. You cannot specify an Ethernet frame header ACL if the ipv6 keyword is specified.
name acl-name: Specifies an ACL by its name. The acl-name argument is a case-insensitive string of 1 to 63 characters. It must start with an English letter.
Usage guidelines
If neither acl-number nor name acl-name is specified, this command clears the match statistics of all ACLs for packet filtering.
Examples
# Clear IPv4 basic ACL 2001 statistics for inbound packet filtering of interface GigabitEthernet 1/0/1.
<Sysname> reset packet-filter statistics interface gigabitethernet 1/0/1 inbound 2001
Related commands
display packet-filter statistics
display packet-filter statistics sum