Configuring Class of Service (CoS)

For interfaces that carry IPv4, IPv6, or MPLS traffic, you can configure class-of-service (CoS) features to provide multiple classes of service for different applications. On the router, you can configure multiple forwarding classes for transmitting packets, define which packets are placed into each output queue, schedule the transmission service level for each queue, and manage congestion using a Random Early Detection (RED) algorithm.

To configure CoS properties, include the following statements:

[edit] 
class-of-service {
  classifiers {
    type
					classifier-name {
      import (classifier-name | default);
      forwarding-class class-name {
        loss-priority (low | high) code-points [ alias | bits ]; } } } code-point-aliases { ...

Get Juniper Networks® Field Guide and Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.