Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


class-of-service (Protocols MPLS)


Hierarchy Level


Class-of-service (CoS) value given to all packets in the LSP.

The CoS value might affect the scheduling or queuing algorithm of traffic traveling along an LSP.


cos-value—CoS value. A higher value typically corresponds to a higher level of service.

  • Range: 0 through 7

  • Default: If you do not specify a CoS value, the IP precedence bits from the packet’s IP header are used as the packet’s CoS value.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.