Context
CAUTION
The traffic policing statistics cannot be restored after being cleared. Exercise caution when you
run the command.
Procedure
l Run the reset traffic policy statistics { global | interface interface-type interface-
number | vlan vlan-id } { inbound | outbound } command to clear the flow-based traffic
statistics.
l Run the reset qos car statistics interface interface-type interface-number inbound
command to clear the statistics on forwarded and discarded packets on a specified interface
configured with interface-based traffic policing.
l Run the reset qos queue statistics interface interface-type interface-number command to
clear the queue-based traffic statistics on the interface.
NOTE
The reset qos queue statistics command cannot be used on S-series and W-series boards.
For details about S-series and W-series boards, see Board Classification in the Quidway S7700 Smart
Routing Switch Hardware Description.
----End
2.6 Configuration Examples
This section provides several configuration examples of traffic policing and traffic shaping.
2.6.1 Example for Configuring Interface-based Traffic Policing
You can configure interface-based traffic policing so that the Switch can provide different
bandwidth services for users.
Networking Requirements
As shown in Figure 2-3, the Switch is connected to the router by using GE 2/0/1; branch 1 and
branch 2 of the enterprise access the Switch by using GE 1/0/1 and GE 1/0/2 and access the
network by using the Switch and router. It is required that the fixed bandwidth of branch 1 be 8
Mbit/s and the maximum bandwidth be 10 Mbit/s, and the fixed bandwidth of branch 2 be 5
Mbit/s and the maximum bandwidth be 8 Mbit/s.
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
64