
C613-50186-01 Rev B
Command Reference for AR2050V
1806
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
SUB
-
SUB
-
CLASS
(
PRIORITY
)
sub-sub-class (priority)
Overview
Use this command to configure a priority queue 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>
[priority-level <
0-15
>] [max
<
max-rate
>] [queue-length <
2-65536
>] [set-dscp <
dscp-value
>]
[red-curve
<red-curve-name>
]
no sub-sub-class
<class-name>
Default
A priority queue sub-sub-class has no max rate or DSCP value. The queue length is
1000.
Mode
Traffic-Control Sub-class for a priority 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, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01 priority
awplus(config-tc-policy)#
class c01 priority-level 5
awplus(config-tc-class)#
sub-class s01 priority-level 7
awplus(config-tc-subclass)#
sub-sub-class ss01 priority-level 3
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-sub-class.
When editing an existing sub-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-sub-class and
enter the name of the red curve template to apply.