Command Manual – ACL
H3C S7500E Series Ethernet Switches Chapter 1 ACL Configuration Commands
1-11
Examples
# Display information about IPv4 ACL 2001.
<Sysname> display acl 2001
Basic ACL 2001, named flow, 1 rule,
ACL's step is 5
rule 5 permit source 1.1.1.1 0 (5 times matched)
rule 5 comment This rule is used in eth 2/0/1
Table 1-3 Description on the fields of the display acl command
Field Description
Basic ACL 2001
The displayed information is about the basic IPv4
ACL 2001.
named flow The name of the ACL is flow.
1 rule
The ACL contains one rule.
ACL's step is 5 The rules in this ACL are numbered in steps of 5.
5 times matched
Five matches for the rule. Only ACL matches
performed by software are counted.
This field appears as long as one match is found.
rule 5 comment This rule is
used in eth 2/0/1
The description of ACL rule 5 is “This rule is used in
eth 2/0/1.”
1.2.6 reset acl counter
Syntax
reset acl counter { acl-number | all | name acl-name }
View
User view
Parameters
acl-number: IPv4 ACL number, which must be in the following ranges:
z 2000 to 2999 for basic IPv4 ACLs
z 3000 to 3999 for advanced IPv4 ACLs
z 4000 to 4999 for Ethernet frame header ACLs
all: All IPv4 ACLs except for user-defined ACLs.
name acl-name: Specifies the name of the ACL, which is a case insensitive string of 1
to 32 characters. It must start with an English letter and cannot be the English word of
all to avoid confusion.