
C613-50186-01 Rev B
Command Reference for AR2050V
1808
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
SUB
-
SUB
-
CLASS
(
WRR
)
sub-sub-class (wrr)
Overview
Use this command to configure a Weighted Round-Robin (WRR) sub-sub-class
within a sub-class.
Use the
no
variant of this command to delete an existing sub-sub-class from the
current sub-class.
Syntax
sub-sub-class
<class-name>
[weight <
1-100
>] [queue-length
<
2-65536
>] [set-dscp <
dscp-value
>] [red-curve
<red-curve-name>
]
no sub-sub-class
<class-name>
Default
A weighted round-robin sub-sub-class has no DSCP value. The queue length is
1000 by default.
Mode
Traffic-Control Sub-class for a WRR sub-sub-class policy.
Usage
If there is already a sub-sub-class in the same level with the specified name, this
command will replace the configuration of the existing sub-sub-class.
Examples
To configure a sub-sub-class as a leaf class, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01 wrr
awplus(config-tc-policy)#
class c01 weight 50 sub-class-policy
wrr
awplus(config-tc-class)#
sub-class s01 weight 30 sub-sub-class
policy wrr
awplus(config-tc-subclass)#
sub-sub-class ss01 weight 5
queue-length 200
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-sub-class.
When editing an existing sub-sub-class, this parameter is optional.
queue-length
<2-65536>
Set the maximum queue length in packets.
set-dscp
<dscp-value>
Set the DSCP value to apply to packets.
red-curve
<red-curve-name>
Apply a random early discard template with the sub-sub-class and
enter the name of the red curve template to apply.