
C613-50186-01 Rev B
Command Reference for AR2050V
1804
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
SUB
-
SUB
-
CLASS
(
HTB
)
sub-sub-class (htb)
Overview
Use this command to configure a Hierarchy Token Bucket (HTB) sub-sub-class for 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>
[cir <
committed-rate
>] [pir
<
peak-rate
>] [bc <
1-100000000
>] [be <
1-100000000
>] [preference
<
0-7
>] [queue-length <
2-65536
>] [set-dscp <
dscp-value
>]
[red-curve
<red-curve-name>
]
no sub-sub-class
<class-name>
Default
BC and BE are assigned suitable values proportional to the CIR and PIR respectively
and are larger than the MTU. PIR defaults to the CIR. Preference defaults to 7 and
Queue length defaults to 1000.
Mode
Traffic-Control Sub-class for an HTB 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.
Parameter
Description
<class-name>
Name of the sub-sub-class.
cir
<committed-rate>
Set the Committed Information Rate (CIR) for the queue. Specified in
kbit/mbit/gbit per second, 1kbit-100gbit.
This parameter is compulsory when creating a new sub-sub-class. When
editing an existing sub-sub-class, this parameter is optional.
pir
<peak-rate>
Set the Peak Information Rate (PIR) for the queue. This is the rate of the
queue under peak conditions. Specified in kbit/mbit/gbit per second, in
the range 1kbit-100gbit.
bc
<1-100000000>
Set the Committed Burst size (BC). This is the burst allowed above the
CIR, sent at the PIR rate.
be
<1-100000000>
Set the Excess Burst size (BE. This is the burst allowed above the PIR,
sent at the maximum rate..
preference
<0-7>
Set the preference for a class to receive spare bandwidth (highest is 7).
queue-length
<2-65536>
Set the maximum queue length.
set-dscp
<dscp-value>
Set the DSCP value to apply to the 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.