
C613-50186-01 Rev B
Command Reference for AR2050V
1800
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
SUB
-
CLASS
(
PRIORITY
)
sub-class (priority)
Overview
Use this command to configure a priority queue 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>
[priority-level <
0-15
>] [max <
max-rate
>]
[queue-length <
2-65536
>] [set-dscp <
dscp_value
>] [red-curve
<red-curve-name>
]
sub-class
<class-name>
[priority-level <
0-15
>]
sub-sub-class-policy {priority|wrr|htb}
no sub-class
<class-name>
Default
A priority queue sub class has no max rate, DSCP value or sub-sub class policy. The
queue length is 1000 by default if the class is a leaf.
Mode
Traffic-Control Class for a priority sub-class policy.
Usage
If there is already a sub-class in the same level with the specified name, the
command will replace the configuration of the existing sub class if it does not have
any sub-sub classes.
If a sub-sub class policy is specified, this command uses the Traffic-Control Class
mode to apply it.
Parameter
Description
<class-name>
Name of the class.
priority-level
<0-15>
Set the priority level (15 is the highest).
This parameter is compulsory when creating a new sub-class. When
editing an existing sub-class, this parameter is optional.
max
<max-rate>
Set the maximum traffic rate of the queue (in kbit/mbit/gbit per
second, 1kbit-100gbit).
queue-length
<2-65536>
Set the maximum queue length in packets.
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 class and enter the
name of the red curve template to apply.
sub-sub-class-policy
Create a sub-sub-class for the policy.
priority
Sub-sub-classes will use the Priority Queue queueing algorithm.
wrr
Sub-sub-classes will use the Weighted Round Robin (WRR) queueing
algorithm.
htb
Sub-classes will use the Hierarchy Token Bucket (HTB) queueing
algorithm.