Reset Acl Counter - HPE FlexNetwork HSR6800 series Command Reference Manual

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

Advertisement

Parameters
inbound: Specifies the incoming packets.
outbound: Specifies the outgoing packets.
Usage guidelines
To enable hardware-count for the packet filtering default action on an interface, make sure you have
applied ACLs to the interface for packet filtering.
Examples
# Set the packet filtering default action to deny. Apply IPv4 basic ACL 2001 to GigabitEthernet 2/1/1
for filtering incoming packets, and enable hardware-count for the packet filtering default action on
GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] packet-filter default deny
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] packet-filter 2001 inbound
[Sysname-GigabitEthernet2/1/1] packet-filter default inbound hardware-count
Related commands
packet-filter
packet-filter default deny
display packet-filter
display packet-filter statistics

reset acl counter

Use reset acl counter to clear statistics for ACLs.
Syntax
reset acl [ ipv6 ] counter { acl-number | all | name acl-name }
Views
User view
Predefined user roles
network-admin
Parameters
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.
all: Clears statistics for all ACLs of the specified type.
name acl-name: Clears statistics of an ACL specified by its name. The acl-name argument is a
case-insensitive string of 1 to 63 characters.
Usage guidelines
To specify the IPv4 ACL type, do not specify the ipv6 keyword.
Examples
# Clear statistics for IPv4 basic ACL 2001.
18

Advertisement

Table of Contents
loading

Table of Contents