R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
9
Parameters
interface interface-type interface-number: Displays the statistics of an interface specified by its type and
number.
interzone source source-zone-name destination destination-zone-name: Displays the statistics of 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: Displays the statistics in the inbound direction.
outbound: Displays the statistics in the outbound direction.
default: Displays the default action statistics for packet filtering.
acl-number: Specifies the number of an ACL:
• 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.
brief: Displays brief statistics.
Usage guidelines
When none of default, acl-number, and name acl-name is specified, this command displays 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.
Examples
# Display match statistics and default action statistics of all ACLs (IPv4 basic, IPv4 advanced, and
Ethernet frame header ACLs) for incoming packet filtering on GigabitEthernet 2/1/0.
<Sysname> display packet-filter statistics interface gigabitethernet 2/1/0 inbound
Interface: GigabitEthernet2/1/0
In-bound policy:
ACL 2001
From 2011-06-04 10:25:21 to 2011-06-04 10:35:57
rule 0 permit source 2.2.2.2 0 (2 packets)
rule 5 permit source 1.1.1.1 0 (Failed)
rule 10 permit vpn-instance test
Totally 2 permitted, 0 packets denied
Totally 100% permitted, 0% denied
ACL 2002 (Failed)