qos bandwidth queue

Use qos bandwidth queue to set the minimum guaranteed bandwidth for a specified queue on an interface.

Use undo qos bandwidth queue to restore the default.

Syntax

qos bandwidth queue queue-id min bandwidth-value

undo qos bandwidth queue queue-id

Default

The minimum guaranteed bandwidth of a WFQ queue is 40 kbps.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

queue-id: Specifies a queue by a number or keyword. Table 38 shows the number-keyword mapping.

Table 38: Number-keyword mapping

Keyword

Number

af1

1

af2

2

af3

3

af4

4

be

0

cs6

6

cs7

7

ef

5

min bandwidth-value: Sets the minimum guaranteed bandwidth in kbps for a queue when the interface is congested. The value range for the bandwidth-value argument is:

Usage guidelines

You must use the qos wfq command to enable WFQ before you can configure this command on an interface.

When you use this command to configure the minimum guaranteed bandwidth for multiple queues on an interface, make sure the sum of the minimum guaranteed bandwidth is no greater than the CIR configured on the interface by using the qos gts any cir committed-information-rate command and the interface bandwidth.

Examples

# Set the minimum guaranteed bandwidth to 100 kbps for queue 0 on GigabitEthernet 2/0/1.

<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos wfq weight
[Sysname-GigabitEthernet2/0/1] qos bandwidth queue 1 min 100

Related commands

qos wfq