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

queue-id

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

Release
Modification

5.2(1)N1(1)

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.

Examples

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

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

 
Related Commands

Command
Description

show wrr-queue cos-map

Displays the weighted round-robin (WRR) queue information.