Configuration procedure


[CAUTION: ]

CAUTION:

To configure the qos wred enable command on an interface, make sure that WFQ queuing has been applied on the interface.


To configure WRED on an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view or PVC view.

  • Enter interface view:interface interface-type interface-number

  • Enter PVC view:

    1. interface atm interface-number

    2. pvc vpi/vci

N/A

3. Enable WRED.

qos wred [ dscp | ip-precedence ] enable

N/A

4. Set the WRED exponent for average queue size calculation.

qos wred weighting-constant exponent

Optional.

The default setting is 9.

5. Set the drop-related parameters for the precedence.

qos wred { ip-precedence ip-precedence | dscp dscp-value } low-limit low-limit high-limit high-limit discard-probability discard-prob

Optional.