Cisco Nexus 6000 Series NX-OS QoS Command Reference
W Commands
Downloads: This chapterpdf (PDF - 80.0 KB) The complete bookPDF (PDF - 0.98 MB) | Feedback

W Commands

Table Of Contents

W Commands

wrr-queue cos-map

W Commands

This chapter describes the Cisco NX-OS quality of service (QoS) commands that begin with W.

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:

Receive queue 0 and transmit queue 0: CoS 0 and 1.

Receive queue 1 and transmit queue 1: CoS 2 and 3.

Receive queue 2 and transmit queue 2: CoS 4 and 5.

Receive queue 3 and transmit queue 3: CoS 6 and 7.

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.