
C613-50186-01 Rev B
Command Reference for AR2050V
1769
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
CLASS
(
HTB
)
Mode
Traffic-Control Policy for an HTB policy.
Usage
If there is already a class in the same level that has 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.
Examples
To configure a leaf class, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01 htb
awplus(config-tc-policy)#
class c01 cir 100mbit pir 150mbit
To configure a class with a sub-sub-class as the leaf class, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01 htb
awplus(config-tc-policy)#
class c01 cir 100mbit pir 150mbit
sub-class-policy htb
awplus(config-tc-class)#
sub-class s01 cir 10mbit sub-sub-class
policy htb
awplus(config-tc-subclass)#
sub-sub-class ss01 cir 5mbit
queue-length 200 red-curve ss01-red
To enter Traffic-Control Class mode for an existing class, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01
awplus(config-tc-policy)#
class c01
awplus(config-tc-class)#
To delete an existing class, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01
awplus(config-tc-policy)#
no class c01
Related
Commands