Configuring Congestion Management on the S2700-52P-EI, S2700-52P-PWR-EI, S2710SI, S3700SI, and S3700EI
When a network is congested intermittently, configure congestion management on the device. The device then determines the sequence at which packets are forwarded according to the defined scheduling policy and ensures that high-priority services are scheduled preferentially.
Context
There are eight queues on each interface. Different queues can use different scheduling modes. The device schedules the queues using PQ scheduling first. If multiple queues using PQ scheduling exist, the device schedules the queues in descending order of priority. A larger queue index indicates higher priority of a queue. After all the PQ scheduling is completed, the device schedules the queues using WRR or WDRR scheduling.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed.
- Run:
qos { pq | wrr | drr }
The scheduling mode of queues on the interface is set to PQ, WRR, or WDRR.
By default, WRR is used.
- Configure the weight.
In WRR scheduling, run:
qos queue queue-index wrr weight weight
The weight for WRR scheduling is set.
By default, the weight for WRR scheduling is 1.
This step is required only when the scheduling mode is WRR or PQ+WRR.
When WRR scheduling is applied and the weight of a queue is set to 0, PQ scheduling is used. That is, the queue uses PQ+WRR.
In WDRR scheduling, run:
qos queue queue-index drr weight weight
The weight for WDRR scheduling is set.
By default, the weight for WDRR scheduling is 1.
This step is required only when the scheduling mode is WDRR or PQ+WDRR.
When WDRR scheduling is applied and the weight of a queue is set to 0, PQ scheduling is used. That is, the queue uses PQ+WDRR.
Checking the Configuration
Run the display qos configuration interface [ interface-type interface-number ] command to check all the QoS configurations on the interface.
Run the display qos queue statistics interface interface-type interface-number command to view queue-based traffic statistics on the interface.