beautypg.com

17 wrr-queue cos-map, 4 qos example – Accton Technology ES4626 User Manual

Page 268

background image

268

Default:

The default values of weight1 to weight8 are 1 through 8.

Command mode:

Interface Mode

Usage Guide:

The absolute value of WRR is meaningless. WRR allocates bandwidth by

using eight weight values. If a weight is 0, then the queue has the highest priority; when

the weights of multiple queues are set to 0, then the queue of higher order has the higher

priority.

Example:

Setting the bandwidth weight proportion of the eight queue out to be

1:1:2:2:4:4:8:8.

Switch(Config-Ethernet1/1)#queue bandwidth1 1 2 2 4 4 8 8

8.1.3.17 wrr-queue cos-map

Command: wrr-queue cos-map <queue-id>

no wrr-queue cos-map

Function:

Sets the CoS value mapping to the specified queue out; the “no wrr-queue

cos-map

” command restores the default setting.

Parameters:

<queue-id> is the ID of queue out, ranging from 1 to 8; are

CoS values mapping to the queue out, ranging from 0 -7, up to 8 values are supported.

Default:

Default CoS-to-Egress-Queue Map when QoS is Enabled

CoS Value

0 1 2 3 4 5 6 7

Queue Selected

1 2 3 4 5 6 7 8

Command mode:

Global Mode

Usage Guide:

Example:

Mapping packets with CoS value 2 and 3 to egress queue 1.

Switch(Config)#wrr-queue cos-map 1 2 3

8.1.4 QoS Example

Scenario 1:

Enable QoS function, change the queue out weight of port ethernet 1/1 to

1:1:2:2:4:4:8:8, and set the port in trust QoS mode without changing DSCP value, and

set the default QoS value of the port to 5.

The configuration steps are listed below:

SWITCH # CONFIG

Switch(Config)#mls qos

Switch(Config)#interface ethernet 1/1

Switch(Config-Ethernet1/1)#queue bandwidth1 1 2 2 4 4 8 8

This manual is related to the following products: