H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – QoS
H3C S7500 Series Ethernet Switches Chapter 1
QoS Commands
1-37
When the specified ACL rule is not effective, the system will adopt the index value input
by you.
Description
Use the traffic-statistic command to activate the ACL for traffic identifying and count
the traffic. This command is applicable to only the permit rules in the ACL.
Use the undo traffic-statistic command to cancel the traffic statistics.
The statistics information of the traffic-statistic command includes the times of ACL
matches on the hardware. You can use display qos-interface traffic-statistic
command to display the statistics information.
Related command: display qos-interface traffic-statistic.
Note:
Only the permit rule can be referenced in this command and applied to hardware.
Examples
# Perform traffic statistics on the packets matching the permit rule in ACL 2000.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] qos
[H3C-qoss-Ethernet2/0/1] traffic-statistic inbound ip-group 2000