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 class and attach a profile to it

An example of how to configure a class and then attach a profile to it. You must attach a profile to each class, and you may attach a given profile to multiple classes.

This example shows how to configure a class and attach a new profile to it.
  1. Define a profile called profile-1 as part of the QoS policy called policy-1.
    user@system# set policy qos name policy-1 shaper profile profile-1 bandwidth 20Mbit
  2. Define a match rule called m1 for class 1 that matches packets with a source address of 10.10.10.0/24.
    user@system# set policy qos name policy-1 shaper class 1 match m1 source address 10.10.10.0/24
  3. Make profile-1 the profile that is applied to packets that classified as belonging to class 1.
    user@system# set policy qos name policy-1 shaper class 1 profile profile-1
With this configuration, Vyatta NOS will process packets with a source address of 10.10.10.* in accordance with profile-1.