home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Configure a traffic class at the policy level

Note: Within the scheduling hierarchy, you can configure traffic classes at both the policy (shaper) level and at the profile level.
Note: You apply a traffic class configuration globally, per profile.

At the policy level you can configure each traffic class with an aggregate bandwidth and a queue limit for all the profile queues that are assigned to each traffic class.

  1. Configure the traffic class to have a specific bandwidth.
    user@system# set policy qos name policy-1 shaper traffic-class 1 bandwidth 300kbit
  2. Define the maximum length of the queue.
    For hardware platforms, define this as the maximum number of bytes that packets on the queue can consume:
    user@system# set policy qos name policy-1 shaper traffic-class 1 queue-limit-bytes 100000
    For software platforms, define this as the maximum number of packets on the queue:
    user@system# set policy qos name policy-1 shaper traffic-class 1 queue-limit 128
  3. Commit the configuration.
    user@system# commit
You have configured your traffic class at the policy level.