Queue cos-map, Table 134: default cos priority levels – LevelOne GTL-2691 User Manual

Page 1156

Advertising
background image

C

HAPTER

40

| Class of Service Commands

Priority Commands (Layer 2)

– 1156 –

queue cos-map

This command assigns class of service (CoS) values to the priority queues

(i.e., hardware output queues 0 - 7). Use the no form set the CoS map to

the default values.

S

YNTAX

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

queue_id - The ID of the priority queue.

Ranges are 0 to 7, where 7 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.

D

EFAULT

S

ETTING

This switch supports Class of Service by using eight 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.

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

CoS values assigned at the ingress port are also used at the egress

port.

This command sets the CoS priority for all interfaces.

E

XAMPLE

The following example shows how to change the CoS assignments to a

one-to-one mapping:

Console(config)#interface ethernet 1/1

Console(config-if)#queue cos-map 0 0

Console(config-if)#queue cos-map 1 1

Console(config-if)#queue cos-map 2 2

Console(config-if)#exit

Console#show queue cos-map ethernet 1/1

Information of Eth 1/1

CoS Value: 0 1 2 3 4 5 6 7

Priority Queue: 2 0 1 3 4 5 6 7

Console#

Table 134: Default CoS Priority Levels

Priority

0

1

2

3

4

5

6

7

Queue

2

0

1

3

4

5

6

7

Advertising