
C613-50186-01 Rev B
Command Reference for AR2050V
1778
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
POLICY
(
TRAFFIC
-
CONTROL
)
policy (traffic-control)
Overview
Use this command to configure a traffic control policy, that can then be used with
rules that have been created.
Use the
no
variant of this command to delete an existing policy.
Syntax
policy
<policy-name>
[priority|wrr|htb]
no policy
<policy-name>
Default
No policies are configured
Mode
Traffic-Control
Usage
A policy specifies a top-level queueing discipline which determines the type of
classes that can be configured under the policy. This command uses the
Traffic-Control Policy mode.
Examples
To configure a policy, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
policy p01 htb
awplus(config-tc-policy)#
To delete an existing policy, use the commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
no policy p01 htb
Related
Commands
Parameter
Description
<policy_name>
The name of the policy
priority
Use Priority Queueing (PQ)
wrr
Use Weighted Round Robin (WRR)
htb
Use Hierarchy Token Bucket (HTB)