Command Manual - QoS&QoS Profile
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands
Huawei Technologies Proprietary
1-17
Description
Use the reset traffic-statistic command to clear the statistics of all or specified traffic.
Example
# Clear the statistics of the inbound traffic that matches ACL 2000 on Ethernet 1/0/1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet 1/0/1
[Quidway-Ethernet1/0/1] reset traffic-statistic inbound ip-group 2000
1.1.17 traffic-limit
Syntax
traffic-limit inbound acl-rule target-rate [ exceed action ]
undo traffic-limit inbound acl-rule
View
Ethernet port view
Parameter
inbound: Performs traffic limit to the packets received by the interface.
acl-rule: Applied ACL rules which can be the combination of various ACL rules. For the
ways of combining ACLs and the description on related parameters, refer to
Table 1-5
and
Table 1-6.
target-rate: The total rate (in kbps) to be set, with the granularity of traffic limit being 64
kbps. If the specified number is in (N*64, (N+1)*64], in which N is a natural number, the
switch automatically sets (N+1)*64 as the parameter value. For a fast Ethernet port, this
argument ranges from 64 to 99,968 inclusive; for a Gigabit Ethernet port, from 64 to
1,000,000 inclusive.
exceed action: Optional. The action is taken when the traffic exceeds the threshold.
The action can be:
z drop: Drops the packets.
z remark-dscp value: Sets new DSCP value.