R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

108
Related commands
qos policy
traffic behavior
classifier behavior
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, and the queue length is 64.
Views
Traffic behavior view
Default command level
2: System level
Parameters
queue-length: Maximum queue length in the range of 1 to 512.
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.
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 use WRED drop.