Priority Commands 4

Command Usage

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

This command sets the CoS priority for all interfaces.

Example

The following example shows how to map CoS values 0, 1 and 2 to egress queue 0, value 3 to egress queue 1, values 4 and 5 to egress queue 2, and values 6 and 7 to egress queue 3:

Console(config)#interface ethernet

1/1

2

Console(config-if)#queue

cos-map 0

0

1

Console(config-if)#queue

cos-map 1

3

5

 

Console(config-if)#queue

cos-map 2

4

 

Console(config-if)#queue

cos-map 3

6

7

 

Console(config-if)#end

 

 

 

 

 

Console#show queue

cos-map ethernet 1/1

 

Information of Eth

1/1

3

4 5 6 7

 

 

 

CoS Value

: 0

1 2

 

 

 

Priority Queue: 0

0 0

1

2 2 3 3

 

 

 

Console#

 

 

 

 

 

 

 

Related Commands

show queue cos-map(4-168)

show queue mode

This command shows the current queue mode.

Default Setting

None

Command Mode

Privileged Exec

Example

Console#show queue mode

Queue mode: wrr

Console#

show queue bandwidth

This command displays the weighted round-robin (WRR) bandwidth allocation for the four priority queues.

Default Setting

None

Command Mode

Privileged Exec

4-167

Page 343
Image 343
SMC Networks 16 10BASE-T, 100BASE-TX manual Show queue mode, Show queue bandwidth, Show queue cos-map4-168