display packet-filter statistics sum
Use display packet-filter statistics sum to display accumulated packet filtering ACL statistics.
Syntax
display packet-filter statistics sum { inbound | outbound } [ ipv6 ] { acl-number | name acl-name } [ brief ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
inbound: Displays the statistics in the inbound direction.
outbound: Displays the statistics in 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.
brief: Displays brief accumulated packet filtering ACL statistics.
Examples
# Display accumulated packet filtering ACL statistics of IPv4 basic ACL 2001 for incoming packets.
<Sysname> display packet-filter statistics sum inbound 2001 Sum: In-bound policy: ACL 2001 rule 0 permit source 2.2.2.2 0 (2 packets) rule 5 permit source 1.1.1.1 0 Totally 2 packets permitted, 0 packets denied Totally 100% permitted, 0% denied
Table 4: Command output
Field | Description |
---|---|
Sum | Accumulated packet filtering ACL statistics. |
In-bound policy | Accumulated ACL statistics used for filtering incoming traffic. |
Out-bound policy | Accumulated ACL statistics used for filtering outgoing traffic. |
ACL 2001 | Accumulated ACL statistics used for IPv4 basic ACL 2001. |
2 packets | Two packets matched the rule. This field is not displayed when no packets matched the rule. |
Totally 2 packets permitted, 0 packets denied | Number of packets permitted and denied by the ACL. |
Totally 100% permitted, 0% denied | Ratios of permitted and denied packets to all packets. |
Related commands
reset packet-filter statistics