Huawei Quidway S8500 Series Command Manual page 688

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
II. Command Format Which Only Applies Link Group ACL
traffic-statistic inbound link-group { acl-number | acl-name } [ rule rule
[ system-index index ] ] [ tc-index index ]
undo traffic-statistic inbound link-group { acl-number | acl-name } [ rule rule ]
View
Ethernet port view
Parameter
inbound: Sets traffic statistics for inbound packets at the port.
ip-group { acl-number | acl-name }: Activates IP ACLs, including basic and advanced
ACLs. acl-number: Sequence number of ACL, ranging from 2000 to 3999. acl-name:
Name of the ACL, which must be a character string starting with an English letter (a-z or
A-Z), and without any space or quotation mark in it.
link-group { acl-number | acl-name }: Activates Layer 2 ACLs. acl-number: Sequence
number of ACL, ranging from 4000 to 4999. acl-name: Name of ACL, which must be a
character string started with an English letter (a-z or A-Z), and without any space or
quotation mark in it.
rule rule: Specifies the rules of an active ACL, ranging from 0 to 127; if not specified, all
rules of ACL will be activated.
system-index index here is the system index for an ACL rule. When delivering a rule,
the system assigns a globally unique index to it, for convenience of later retrieval. You
can also assign a system index for it when delivering an ACL rule with this command.
However, you are not recommended to manually assign a system index if not urgently
necessary.
tc-index index: Index value of traffic conditioner, ranging from 0 to 12288. If you
configured the same index value to different traffic rules during traffic statistic
configuration, then the statistic of these traffics is performed.
Description
Use the traffic-statistic command to activate an ACL and run traffic statistics (only
available for the permitted rules in the ACL).
Use the undo traffic-statistic command to cancel traffic statistics.
The traffic-statistic command only counts the hardware matching times in packet
forwarding. You can view the statistics using the display qos-interface
traffic-statistic commands.
Related command: display qos-interface traffic-statistic.
Example
# Run traffic statistics for the packets which match the permitted rules in the ACL 2000.
Huawei Technologies Proprietary
2-45
Chapter 2 QoS Commands

Advertisement

Table of Contents
loading

Table of Contents