Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-36
Example
# Redirects the packets matching the ACL 2000 rules with action permit to the port
Ethernet0/1.
[Quidway] traffic-redirect ip-group 2000 interface e0/1
2.2.21 traffic-statistic
Syntax
traffic-statistic { user-group { acl-number | acl-name } [ rule rule ] | { ip-group
{ acl-number | acl-name } [ rule rule ] | link-group { acl-number | acl-name } [ rule
rule ] }* }
undo traffic-statistic { user-group { acl-number | acl-name } [ rule rule ] | { ip-group
{ acl-number | acl-name } [ rule rule ] | link-group { acl-number | acl-name } [ rule
rule ] }* }
View
System view
Parameter
user-group { acl-number | acl-name } [ rule rule ]: Specifies a user-defined ACL.
acl-number: Specifies the ACL sequence number, ranging from 5000 to 5999. acl-name:
Specifies the ACL name with a character string starting with English letters ([a-z, A-Z])
and excluding space and quotation mark. rule rule: Specifies a rule of an ACL, ranging
from 0 to 127. If you do not set this parameter, all the rules will be considered.
ip-group { acl-number | acl-name } [ rule rule ]: Specifies a basic or advanced ACL.
acl-number: Specifies the ACL sequence number, ranging from 2000 to 3999. acl-name:
Specifies the ACL name with a character string starting with English letters ([a-z, A-Z])
and excluding space and quotation mark. rule rule: Specifies a rule of an ACL, ranging
from 0 to 127. If you do not set this parameter, all the rules will be considered.
link-group { acl-number | acl-name } [ rule rule ]: Specifies a Layer-2 ACL. acl-number:
Specifies the ACL sequence number, ranging from 4000 to 4999, acl-name: Specifies
the ACL name with a character string starting with English letters ([a-z, A-Z]) and
excluding space and quotation mark. rule rule: Specifies a rule of an ACL, ranging from
0 to 127. If you do not set this parameter, all the rules will be considered.
Description
Using traffic-statistic command, you can activate the ACL to recognize and count the
traffic(whose action is permit). Using undo traffic-statistic command, you can cancel
the traffic statistics.