O'Reilly logo

Juniper Networks® Field Guide and Reference by Juniper Networks®, Cris Morris, Gary Drenan, Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 { ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required