Reset Packet-Filter Statistics; Rule (Ipv4 Advanced Acl View) - HPE FlexNetwork HSR6800 series Command Reference Manual

Comware 7 acl and qos
Hide thumbs Also See for FlexNetwork HSR6800 series:
Table of Contents

Advertisement

<Sysname> reset acl counter 2001
Related commands
display acl

reset packet-filter statistics

Use reset packet-filter statistics to clear the packet filtering statistics (including the accumulated
statistics) for an ACL and the default action statistics.
Syntax
reset packet-filter statistics interface [ interface-type interface-number ] { inbound | outbound }
[ default | [ 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 statistics for all interfaces.
inbound: Specifies the inbound direction.
outbound: Specifies the outbound direction.
default: Clears the default action statistics for packet filtering.
ipv6: Specifies the IPv6 ACL type.
acl-number: Specifies an ACL by its number. The following are available value ranges:
2000 to 2999 for basic ACLs.
3000 to 3999 for advanced ACLs.
name acl-name: Specifies an ACL by its name. The acl-name argument is a case-insensitive string
of 1 to 63 characters.
Usage guidelines
If default, acl-number, name acl-name, or ipv6 is not specified, this command clears the packet
filtering statistics for all ACLs and the default action statistics.
To specify the IPv4 ACL type, do not specify the ipv6 keyword.
Examples
# Clear IPv4 basic ACL 2001 statistics for inbound packet filtering on GigabitEthernet 2/1/1.
<Sysname> reset packet-filter statistics interface gigabitethernet 2/1/1 inbound 2001
Related commands
display packet-filter statistics
display packet-filter statistics sum

rule (IPv4 advanced ACL view)

Use rule to create or edit an IPv4 advanced ACL rule.
Use undo rule to delete an entire IPv4 advanced ACL rule or some attributes in the rule.
19

Advertisement

Table of Contents
loading

Table of Contents