qos wrr group sp

Use qos wrr group sp to assign a queue to the SP group.

Use undo qos wrr group sp to restore the default.

Syntax

qos wrr queue-id group sp

undo qos wrr queue-id

Default

An interface uses the byte-count WRR queuing algorithm, and all the queues are in WRR group 1.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

queue-id: Specifies a queue by its ID. The value is an integer in the range of 0 to 7 or a keyword listed in Table 33.

sp: Assigns a queue to the SP group, which uses the SP queue scheduling algorithm.

Usage guidelines

You must use the qos wrr command to enable WRR queuing before you can configure this command on an interface.

Queues in the SP group are scheduled with SP. The SP group has higher scheduling priority than the WRR group.

Examples

# Enable packet-based WRR queuing on GigabitEthernet 1/0/1, and assign queue 0 to the SP group.

<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr weight
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp

Related commands