Command Reference Guide

82
ef 1 9
cs6 1 13
cs7 1 15
Table 32 Command output
Field Descri
p
tion
Interface Interface type and interface number.
Output queue Type of the current output queue.
Queue ID ID of a queue.
Group
Number of the group a queue is assigned to. By default, all queues belong to group
1.
Weight
Packet-based queue scheduling weight of a queue. N/A is displayed for a queue
that uses the SP queue scheduling algorithm.
qos wrr
Use qos wrr to enable WRR queuing and specify the weight type for an interface.
Use undo qos wrr to disable WRR queuing and restore the default queue scheduling algorithm for an
interface.
Syntax
qos wrr { byte-count | weight }
undo qos wrr { byte-count | weight }
Default
An interface uses the byte-count WRR queuing algorithm, and queues 0 through 7 have weights of 1, 2,
3, 4, 5, 9, 13, and 15, respectively.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
byte-count: Allocates bandwidth to queues in terms of bytes.
weight: Allocates bandwidth to queues in terms of packets.
Usage guidelines
You must use the qos wrr command to enable WRR queuing before you can configure WRR queuing
parameters for a queue on an interface.
Examples
# Enable weight-based WRR queuing on FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface FortyGigE 1/1/1
[Sysname-FortyGigE1/1/1] qos wrr weight