R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)

59
Configuring WFQ
To configure WFQ:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name
The specified traffic behavior name
cannot be the name of any
system-defined behavior.
3. Configure WFQ.
queue wfq [ queue-number
total-queue-number ]
N/A
You can associate the traffic behavior that contains a WFQ action only with the default class.
Configuring the maximum queue size
Configure the maximum queue size and use tail drop.
To configure the maximum queue size:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name
The specified traffic behavior name
cannot be the name of any
system-defined behavior.
3. Set the maximum queue size.
queue-length queue-length N/A
Check that the queue af command or the queue wfq command has been configured before you
configure the queue-length command. Executing the undo queue af command or the undo queue wfq
command cancels also the queue-length command.
Enabling WRED
When you enable WRED, follow these guidelines:
Before enabling WRED, configure the queue af command or queue wfq command.
The wred command and the queue-length command are mutually exclusive.
When WRED is disabled, other WRED configurations under it are deleted.
The WRED configuration in QoS policies overrides the WRED configuration directly configured on
interfaces.
To use WRED drop:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic
behavior and enter
traffic behavior view.
traffic behavior
behavior-name
The specified traffic behavior name cannot be
the name of any system-defined behavior.