qos wfq weight

Use qos wfq weight to configure a scheduling weight for a WFQ queue.

Use undo qos wfq to restore the default.

Syntax

qos wfq queue-id weight schedule-value

undo qos wfq queue-id

Default

A WFQ queue has a scheduling weight of 1.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

queue-id: Specifies a queue by a number or keyword. For the number-keyword mapping, see Table 38.

weight: Allocates bandwidth to queues based on their weights.

schedule-value: Specifies a scheduling weight in the range of 1 to 63.

Usage guidelines

You must use the qos wfq command to enable WFQ first before you configure this command.

Examples

# Configure scheduling weights 20 and 30 for queues 3 and 4 on GigabitEthernet 2/0/1, respectively.

<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos wfq
[Sysname-GigabitEthernet2/0/1] qos wfq 3 weight 20
[Sysname-GigabitEthernet2/0/1] qos wfq 4 weight 30

Related commands