Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-70
Combined Mode Value
All rules in IP ACL and
one rule in Link ACL
ip-group { acl-number | acl-name } link-group
{ acl-number | acl-name } rule rule
One rule in IP ACL and
one rule in Link ACL
ip-group { acl-number | acl-name } rule rule link-group
{ acl-number | acl-name } rule rule
One rule in IP ACL and
all rules in Link ACL
ip-group { acl-number | acl-name } rule rule link-group
{ acl-number | acl-name }
z ip-group { acl-number | acl-name }:activate the IP ACLs. IP ACLs include basic,
advanced ACLs. acl-number: Specifies the ACL number, ranging from 2000 to
3999. acl-name: Specifies the ACL name with a character string started with
English letters (that is [a to z, A to Z]), excluding space and quotation marks.
z link-group { acl-number | acl-name }: activate the L2 ACL. acl-number: Specifies
the ACL number, ranging from 4000 to 4999. acl-name: Specifies the ACL name
with a character string started with English letters (that is [a to z, A to Z]), excluding
space and quotation marks.
z rule rule: Specifies the rule in the ACL to be activated, ranging from 0 to 127. If it is
not specified, all the rules in the ACL will be activated.
Description
Using the traffic-statistic command, you can enable the ACL and configure traffic
statistics (only available to the permitted rules in the ACL). Using the undo
traffic-statistic command, you can remove traffic statistics setting.
You can use the display qos-interface traffic-statistic command to view the
information result.
 Note:
If you choose untrusted mode for a specific traffic in traffic-priority operation, that is,
you manually specify a service group for the designated traffic, then the traffic-limit
and traffic-statistic operations are invalid for this traffic. If you choose traffic-limit and
traffic-statistic, however, then the untrusted mode is invalid.
For the related command, see display qos-interface traffic-statistic.
Example
# Count the packets match the permitted rules in ACL 2000.
[Quidway-Ethernet0/1] traffic-statistic inbound ip-group 2000