
C613-50186-01 Rev B
Command Reference for AR2050V
1802
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
SUB
-
CLASS
(
WRR
)
sub-class (wrr)
Overview
Use this command to configure a Weighted Round-Robin (WRR) sub-class within a
class.
Use the
no
variant of this command to delete an existing sub-class under the
current class.
Syntax
sub-class
<class-name>
[weight <
1-100
>] [queue-length
<
2-65536
>] [set-dscp <
dscp-value
>] [red-curve
<red-curve-name>
]
sub-class
<class-name>
[weight <
1-100
>] sub-sub-class-policy
wrr
no sub-class
<class-name>
Default
A weighted round-robin sub class has no DSCP value or sub-sub-class policy. The
queue length is 1000 by default.
Mode
Traffic-Control Class for a WRR sub-class policy.
Usage
If there is already a class in the same level with the specified name, the command
will replace the configuration of the existing class if it does not have any
sub-classes.
If a sub class policy is specified, this command uses the Traffic-Control Class mode
to apply it.
Parameter
Description
<class-name>
Name of the sub-class.
weight
<1-100
>
Set the weight.The relative weight is the available bandwidth divided
between sibling WRR classes according to the ratio of their configured
weights.
This parameter is compulsory when creating a new sub-class. When
editing an existing sub-class, this parameter is optional.
queue-length
<2-65536>
Set the maximum queue length in packets.
set-dscp
Set the DSCP value to apply to packets.
<dscp-value>
DSCP value as an integer or lower-case DSCP name.
red curve
<red-curve-name>
Apply a random early discard template with the sub-class and enter the
name of the red curve template to apply.
sub-sub-class-policy
Create a sub-sub-class within the policy.
wrr
Sub sub classes use the Weighted Round Robin queueing discipline.