C613-50066-01 REV A
Command Reference for IE200 Series Industrial Managed PoE+ Switches
813
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
Q
O
S C
OMMANDS
WRR
-
QUEUE
WEIGHT
QUEUES
wrr-queue weight queues
Overview
This command configures weighted round-robin based scheduling on the
specified egress queues on switch port interfaces only. The weights are specified
as ratios relative to each other.
Syntax
wrr-queue weight <
1-15
> queues [0][1][2][3]
Mode
Interface Configuration for switch port interfaces only (not for static aggregated
interfaces).
Usage
If any queues are set to use weighted round robin, all queues use it.
When you enter a command to set a WRR weight on a queue, the switch applies
that to all ports. It displays the following message to indicate this:
Only apply weighted round-robin based scheduling to switch port interfaces (for
example,
awplus(config)#interface port1.0.2
).
You cannot apply weighted round-robin based scheduling to static aggregated
interfaces (for example,
awplus(config)#interface sa2
). Attempting to
apply weighted round-robin based scheduling on aggregated interfaces will
display the console error shown below:
awplus#
configure terminal
awplus(config)#
interface sa2
awplus(config-if)#
wrr-queue weight
% Invalid input detected at ^ marker
Example
In this example, the queues are configured as follows:
•
queue 3 is configured WRR with a weighting value of 15
•
queue 2 is configured WRR with a weighting value of 8
Parameter
Description
<
1-15
>
Weight (the higher the number the greater will be the queue
servicing).
[0][1][2][3]
Enter egress queue numbers 0-3, to assign the specified
queues the specified weight.
awplus(config-if)#wrr-queue weight 2 queues 0
% Queue weight changed for all ports
% All egress queues set to WRR scheduling