Procedure
l
Run the following commands to view the queue-based traffic statistics based on device
model.
–
Run the
display qos queue statistics
interface
interface-type interface-number
command on the S3700HI to view the queue-based traffic statistics.
l
Run the
display qos port statistics
interface
interface-type
interface-number
command
to view the queue-based statistics.
NOTE
Before viewing the queue statistics on an interface, run the
qos port statistics enable
command to
enable the queue statistics function on the specified outbound interface.
The
display qos port statistics
command cannot be used on the S3700HI.
----End
3.4.2 Clearing the Queue-based Statistics
You can use the reset command to clear the queue-based traffic statistics.
Context
To re-collect the queue-based statistics on an interface, you can use the following command in
the user view to clear the previous statistics.
CAUTION
The queue-based statistics cannot be restored after you clear them. So, confirm the action before
you use the command.
Procedure
l
Run the
reset qos queue statistics
interface
interface-type
interface-number
command to
clear the queue-based traffic statistics on the interface.
----End
3.5 Configuration Examples
This section provides several configuration examples of congestion avoidance and congestion
management.
3.5.1 Example for Configuring Congestion Avoidance and
Congestion Management on the S3700HI
After congestion avoidance and congestion management are configured, the S3700 provides
different services for packets of different priorities and ensures high-priority and low-delay
services.
S3700HI Ethernet Switches
Configuration Guide - QoS
3 Congestion Avoidance and Congestion Management
Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
96