Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Configure remarking for second stage classification

An example of how to remark the PCP or DSCP values of packets during the second stage of classification.

You can change DSCP and PCP values of matching packets through the set policy qos name <policy-name> shaper class <class-id> match <rule-name> mark command.

To configure remarking for DSCP packets, do these steps:

  1. Create the class match rule and define the criteria to match the destination port.
    user@system# set policy qos name policy1 shaper class 1 match match1 destination port bgp
  2. Define how the system will remark matching packets with a DSCP value.
    user@system# set policy qos name policy1 shaper class 1 match match1 mark dscp 40
  3. Define the criteria to match a protocol.
    user@system# set policy qos name policy1 shaper class 1 match match1 protocol tcp
  4. Commit the configuration.
    user@system# commit
DSCP remarking is now configured on your policy.