Installation manual

Command Manual - QoS/ACL
Quidway S3000-EI Series Ethernet Switches Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-7
acl-number: Specifies an access list with a number in the range of 2000 and 3999.
acl-name: Specifies an access list with a character string, beginning with English
letters [a-z, A-Z] only, excluding space and quotation marks, and not case sensitive.
The all and any keywords are not allowed.
Description
Using the reset acl counter command, you can reset the statistics information of the
ACL which is used to filter or classify the data treated by the software of switch. You
can clear the matched counters to zero using this command.
Table 1-5 The comparison between reset commands of statistics information
Command Function
reset acl counter
Reset the statistics information of the ACL which is
used in the case of filtering or classifying the data
treated by the software of switch. The case includes:
ACL cited by route policy function, ACL used for
control logon user, etc. The ACL number ranges from
2000 to 3999.
reset traffic-statistic
Reset statistic information of traffic. This command is
used in the case of filtering or classifying the data
transmitted by the hardware of switch. Commonly, this
command is used to reset the statistics information of
the traffic-statistic command.
Example
# Clear the statistics information of ACL 2000.
<Quidway> reset acl counter 2000
1.1.7 rule
Syntax
I. define/delete a rule for basic acl
rule [ rule-id ] { permit | deny } [ source { source-addr wildcard | any } | fragment |
time-range name ]*
undo rule rule-id [ source | fragment | time-range ]*
II. define/delete a rule for advanced acl
rule [ rule-id ] { permit | deny } protocol [source { source-addr wildcard | any } ]
[ destination { dest-addr dest-mask | any } ] [ source-port operator port1 [ port2 ] ]
[ destination-port operator port1 [ port2 ] ] [ icmp-type type code ] [ established ]
[ [ precedence precedence | tos tos ]* | dscp dscp ] [ fragment ] [ time-range name ]