R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
19
Predefined user roles
network-admin
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If you do not
specify any interface, the command clears packet filtering ACL statistics on all interfaces.
interzone [ source source-zone-name destination destination-zone-name ]: Specifies an interzone
instance. The source-zone-name argument specifies a source zone by its name. The
destination-zone-name argument specifies a destination zone by its name. A zone name is a
case-insensitive string of 1 to 31 characters.
inbound: Specifies the inbound direction.
outbound: Specifies the outbound direction.
default: Clears the default action statistics of ACLs for packet filtering.
acl-number: Specifies an ACL by its number:
• 2000 to 2999 for IPv4 basic ACLs if the ipv6 keyword is not specified and for IPv6 basic ACLs if
the ipv6 keyword is specified.
• 3000 to 3999 for IPv4 advanced ACLs if the ipv6 keyword is not specified and for IPv6 advanced
ACLs if the ipv6 keyword is specified.
• 4000 to 4999 for Ethernet frame header ACLs. This entry is not displayed 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. For a basic ACL or advanced ACL, if you do not specify
the ipv6 keyword, this option specifies the name of an IPv4 basic ACL or advanced ACL. If you specify
the ipv6 keyword, this option specifies the name of an IPv6 basic ACL or advanced ACL.
Usage guidelines
When none of default, acl-number, and name acl-name is specified, this command clears the match
statistics and default action statistics of all ACLs for packet filtering.
• If the ipv6 keyword is not specified, all ACLs refer to all IPv4 basic, IPv4 advanced, and Ethernet
frame header ACLs.
• If the ipv6 keyword is specified, all ACLs refer to all IPv6 basic and IPv6 advanced ACLs.
If no source and destination zones are specified, this command clears statistics of packet filtering ACLs
on all interzone instances.
Examples
# Clear IPv4 basic ACL 2001 statistics for incoming packet filtering on interface GigabitEthernet 2/1/0.
<Sysname> reset packet-filter statistics gigabitethernet2/1/0 inbound 2001
Related commands
• display packet-filter statistics
• display packet-filter statistics sum
rule (Ethernet frame header ACL view)
Use rule to create or edit an Ethernet frame header ACL rule.
Use undo rule to delete an Ethernet frame header ACL rule or some attributes in the rule.