Priority Commands 4

Command Usage

WRR controls bandwidth sharing at the egress port by defining scheduling weights.

Example

This example shows how to assign WRR weights to priority queues 0 - 2:

Console(config)#queue bandwidth 6 9 12

Console(config)#

Related Commands

show queue bandwidth (4-188)

queue cos-map

This command assigns class of service (CoS) values to the priority queues (i.e., hardware output queues 0 - 3). Use the no form set the CoS map to the default values.

Syntax

queue cos-mapqueue_id [cos1 ... cosn] no queue cos-map

queue_id - The ID of the priority queue.

Ranges are 0 to 3, where 3 is the highest priority queue.

cos1 .. cosn - The CoS values that are mapped to the queue ID. It is a space-separated list of numbers. The CoS value is a number from 0 to 7, where 7 is the highest priority.

Default Setting

This switch supports Class of Service by using four priority queues, with Weighted Round Robin queuing for each port. Eight separate traffic classes are defined in IEEE 802.1p. The default priority levels are assigned according to recommendations in the IEEE 802.1p standard as shown below.

Table 4-63 Default CoS Values to Egress Queues

Queue

Priority

0

1

2

3

1,2

0,3

4,5

6,7

 

 

 

 

Command Mode

Interface Configuration (Ethernet, Port Channel)

4-187

Page 429
Image 429
SMC Networks SMC8150L2 manual Queue cos-mapqueueid cos1 ... cosn no queue cos-map, Default CoS Values to Egress Queues