Operation Manual – QoS-QoS Profile
H3C S3100 Series Ethernet Switches Chapter 1 QoS Configuration
1-32
Table 1-32 Generate traffic statistics on packets passing a port and matching specific
ACL rules
Operation Command Description
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Generate the statistics on the packets
matching specific ACL rules
traffic-statistic
inbound acl-rule
Required
Clear the statistics on the packets
matching specific ACL rules
reset traffic-statistic
inbound acl-rule
Optional
 Note:
The traffic accounting function configured on a VLAN is only applicable to packets
tagged with 802.1Q header.
III. Configuration example
z Ethernet 1/0/1 is connected to the 10.1.1.0/24 network segment.
z Generate statistics on the packets sourced from the 10.1.1.0/24 network segment.
z Clear the statistics.
1) Method I
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] traffic-statistic inbound ip-group 2000
[Sysname-Ethernet1/0/1] reset traffic-statistic inbound ip-group 2000
2) Method II
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] traffic-statistic vlan 2 inbound ip-group 2000
[Sysname] reset traffic-statistic vlan 2 inbound ip-group 2000
1.4.10 Enabling the Burst Function
Refer to section Burst for information about the burst function.