Displaying and Debugging Congestion Avoidance 701

Displaying and

Debugging

Congestion Avoidance

Table 741 Display and Debug Congestion Avoidance

Operation

Command

 

 

Display the WRED configuration

display qos wred [ interface type

conditions and statistic information of the

number ]

interface

 

 

 

Congestion Avoidance

Configuration

Example

1Configure a WFQ queue.

[Router] interface ethernet 0 [Router-Ethernet0] qos wfq

2Enable WRED.

[Router-Ethernet0] qos wred

3Configure the exponent to calculate the average WRED queue length.

[Router-Ethernet0]qos wred weighting-constant 1

4Configure the lower threshold, upper threshold, and drop probability denominator of the WRED queue with precedence 0 to be 10, 1024 and 30 respectively.

[Router-Ethernet0]qos wred ip-precedence 0 low-limit 10 high-limit

1024 discard-probability 30

Page 705
Image 705
3Com 10014299 Displaying Debugging Congestion Avoidance, Congestion Avoidance Configuration Example, Configure a WFQ queue