Pre-configuration Tasks
Before configuring congestion avoidance, complete the following tasks on the incoming
interface:
l
Configuring priority mapping based on simple traffic classification to map priorities of
packets to PHBs and colors
l
Configuring traffic policing based on complex traffic classification and the remarking
action
NOTE
Before configuring congestion avoidance, you need to perform either of the preceding tasks to color packets
as the basis of congestion avoidance.
Data Preparation
To configure congestion avoidance, you need the following data.
No.
Data
1
Upper threshold, lower threshold, and maximum drop percent of WRED
3.2.2 (Optional) Setting the Length of the Interface Queue
You can set the maximum number of packets that can be buffered in the specified interface queue
by setting the length of the interface queue.
Context
You must run the shutdown (interface view) command to shut down the interface before running
the
qos queue max-length
command. Otherwise, traffic is interrupted and an alarm is generated.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
qos queue
queue-index
length
length-value
The length of the interface priority queue is set.
----End
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.
88