4 Command Line Interface

Command Usage

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

Example

The following example shows how to change the CoS assignments:

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

Traffic Class : 0 1 2 3 4 5 6 7

Priority Queue: 0 1 2 1 2 2 3 3

Console#

Related Commands

show queue cos-map(4-189)

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-188

Page 430
Image 430
SMC Networks SMC8150L2 Show queue mode, Show queue bandwidth, Following example shows how to change the CoS assignments