R3303-HP HSR6800 Routers ACL and QoS Command Reference

107
queue-length
Use queue-length to configure the maximum queue length and use tail drop.
Use undo queue-length to delete the configuration.
Syntax
queue-length queue-length
undo queue-length queue-length
Default
Tail drop is used.
Views
Traffic behavior view
Default command level
2: System level
Parameters
queue-length: Maximum queue length in the range of 1 to 4096.
Usage guidelines
Before configuring this command, make sure that the queue af command or the queue wfq command
has been configured.
The queue length configured with the queue-length command is deleted when the undo queue af
command or the undo queue wfq command is executed, and vice versa.
The queue length configured with the queue-length command is deleted when random drop is used
using the wred command, and vice versa.
When low-priority services preempt the bandwidth for the AF service, you can increase the queue size for
the AF service.
Examples
# Configure a maximum queue length of 16 and specify tail drop for AF.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue af bandwidth 200
[Sysname-behavior-database] queue-length 16
Related commands
qos policy
traffic behavior
classifier behavior
wred
Use wred to enable WRED drop.
Use undo wred to disable WRED.