Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring ToS Byte Conditions (SRC CLI)

 

Use this condition to define a particular traffic flow to the service’s network for the DA IP field in the IP packet.

The CoS feature on routers running Junos OS supports DiffServ as well as six-bit IP header ToS byte settings. The DiffServ protocol uses the ToS byte in the IP header. The most significant six bits of this byte form the Differentiated Services code point (DSCP). The CoS feature uses DSCPs to determine the forwarding class associated with each packet. It also uses the ToS byte and ToS byte mask to determine IP precedence.

Use the following configuration statements to add ToS conditions to a classify-traffic condition:

To add ToS conditions to a classify-traffic condition:

  1. From configuration mode, enter the ToS configuration. For example:

  2. (Optional) Configure the value of the ToS byte in the IP packet header.

  3. (Optional) Configure the mask associated with the ToS byte.

  4. (Optional) Verify the ToS condition configuration.