![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg725.png)
1829
Examples # Configure WFQ for default-class and the queue number is 16.
<Sysname> system-view
[Sysname] traffic behavior test
[Sysname-behavior-test] queue wfq 16
[Sysname] qos policy user1
[Sysname-qospolicy-user1] classifier default-class behavior test
queue-length
Syntax queue-length queue-length
undo queue-length queue-length
View Traffic behavior view
Parameters queue-length: The maximum threshold value of the queue, in the range 1 to 512.
The queue length is 64.
Description Use the
queue-length command to configure maximum queue length, and the
drop mode is tail drop.
Use the
undo queue-length command to delete configuration.
By default, tail drop is configured.
This command can be used only after the queue af or queue wfq command has
been configured.
The queue-length, which has been configured, will be deleted when the undo
queue af or undo queue wfq command is executed.
The queue-length, which has been configured, will be deleted when the random
drop mode is configured via the wred command, and vise versa.
Related commands: qos policy, traffic behavior, classifier behavior.
Examples # Configure tail drop and set the maximum queue length to 16.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue af bandwidth 200
[Sysname-behavior-database] queue-length 16
wred
Syntax wred [ dscp | ip-precedence ]
undo wred
View Traffic behavior view