11 mls qos queue wdrr weight, 12 mls qos queue bandwidth, Mls qos queue wdrr weight – PLANET WGSW-52040 User Manual

Page 365: Mls qos queue bandwidth

Advertising
background image

20-134

20.11 mls qos queue wdrr weight

Command:

mls qos queue wdrr weight <weight0..weight7>

no mls qos queue wdrr weight

Function:

After configure this command, the queue weight is set.

Parameters:

<weight0..weight7> defines the queue weight, in Kbytes. For WDRR algorithm, this configuration is valid, but for SP

algorithm, it is invalid. When the weight is 0, this queue adopts SP algorithm to manage, and WDRR algorithm turns

into SP+WDRR algorithm. WRR, in byte, allocates bandwidth by using 8 weight values. The different chips support

the different weight range, if the setting exceeds the chip range will prompt the right range, when the chip supports 4

queues, it’s parameter turns into <weight1..weight4>.

Default:

The queue weight is 10 20 40 80 160 320 640 1280.

Command mode:

Port Mode.

Usage Guide:

If the queue weight is configured as 0, it uses SP algorithm to manage, while WRR turns into SWDRR. When

removing the queue, the system will manage SP queue at first, then manage WDRR queue, SP queue executes the

strict priority management mode, WDRR queue executes the weight rotation management mode.

Example:

Configure the queue bandwidth as 10kbytes, 10kbytes, 20kbytes, 20kbytes, 30kbytes, 30kbytes, 40kbytes,

40kbytes.

Switch(interface-ethernet1/1)#mls qos queue wdrr weight 10 10 20 20 40 40 80 80

20.12 mls qos queue bandwidth

Command:

mls qos queue <queue-id> bandwidth <minimum-bandwidth> <maximum-bandwidth>

no mls qos queue <queue-id> bandwidth

Advertising