Vyatta NOS documentation

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

Configure and use an action group

An example of how to create an action group that can carry out some actions on packets that match a match rule that you attach the action group to.
  1. Create an action group called action-group-1 that will mark frame headers with a PCP value of 3.
    user@system# set policy action name action-group-1 mark pcp 3
  2. Set the action group so that it will police the bandwidth to 1Gbits/sec.
    user@system# set policy action name action-group-1 police bandwidth 1Gbit
  3. Set a maximum burst size for the policer that is part of action-group-1.
    user@system# set policy action name action-group-1 police burst 5000
  4. Set the action group so that it will change the DSCP values of the packets to 46 if the bandwidth exceeds that configured for the policer.
    user@system# set policy action name action-group-1 police then mark dscp 46
  5. Set the match rule m1 to match the source addresses of the packets.
    user@system# set policy qos name fred shaper class 1 match m1 source address 10.10.10.1
  6. Attach the action group to the match rule m1, so that QoS will perform the actions defined for the action group on any packet that matches match rule m1.
    user@system# set policy qos name fred shaper class 1 match m1 action-group action-group-1