wrr-queue cos-map

To map assigned class of service (CoS) values to select one of the egress queues, use the wrr-queue cos-map command. To return the CoS map to the default setting, use the no form of this command.

wrr-queue cos-map queue-id cos1 ... cos8

no wrr-queue cos-map queue-id cos1 ... cos8

Syntax Description

ID of the egress queue. The range is from 0 to 3.
cos1... cos8
CoS values that are mapped to select a queue. Enter up to eight CoS values. Separate each value with a space. The range is from 0 to 7.

Command Default

The defaults are as follows:

Command Modes

Global configuration mode

Command History

This command was introduced.

Usage Guidelines

Note This command is applicable only to Layer 3 multicast traffic.

You can use this command to distribute traffic into different queues, where each queue is configured with different weighted round robin (WRR) parameters.

You can configure a maximum of four multicast queues for Layer 3 multicast traffic. We recommend that you configure at least one class of service (CoS) value for each multicast queue.


This example shows how to map CoS values 0 and 1 to queue 1:

switch(config)# wrr-queue cos-map 1 0 1

Related Commands

show wrr-queue cos-map
Displays the weighted round-robin (WRR) queue information.