l Run the display traffic policy user-defined [ policy-name [ classifier classifier-name ] ]
command to check the traffic policy information.
l Run the display traffic-policy applied-record [ policy-name ] command to check the
applied traffic policy.
----End
1.5 Maintaining Class-based QoS
If the traffic statistics function is enabled, you can view and clear the flow-based traffic statistics.
1.5.1 Displaying the Flow-based Traffic Statistics
You can use the display traffic policy statistics command to view the traffic statistics matching
the specified traffic classification rule.
Context
To view the flow-based traffic statistics, a traffic policy must exist and contain the traffic
statistics action.
Procedure
l Run the display traffic policy statistics { global [ slot slot-id ] | interface interface-type
interface-number | vlan vlan-id } { inbound | outbound } [ verbose { classifier-base |
rule-base } [ class classifier-name ] ] command to check the flow-based traffic statistics.
----End
1.5.2 Clearing the Flow-based Traffic Statistics
You can use the reset command to clear the flow-based traffic statistics.
Context
CAUTION
The flow-based traffic statistics cannot be restored after being cleared. Exercise caution when
you run the command.
Procedure
l Run the reset traffic policy statistics { global [ slot slot-id ] | interface interface-type
interface-number | vlan vlan-id } { inbound | outbound } command in the user view to
clear the flow-based traffic statistics.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
31