2.5.1 Displaying the Traffic Statistics
If the traffic statistics action is configured, you can run display commands to view the traffic
statistics.
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.
l
Run the
display qos queue statistics
interface
interface-type interface-number
command
to check the queue-based traffic statistics on the interface
----End
2.5.2 Checking the Usage of the Queue
You can use display commands to view the Usage of the Queue.
Context
To obtain the usage of queues, you can run the following command in any view.
Procedure
l
Run the
display qos queue length
interface
interface-type interface-number
command to
view the usage of priority queues on the interface.
----End
2.5.3 Clearing the Traffic Statistics
You can use the reset commands to clear the traffic statistics.
Context
CAUTION
The 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 to clear the flow-
based traffic statistics.
S3700HI Ethernet Switches
Configuration Guide - QoS
2 Traffic Policing and Traffic Shaping Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
67