Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

class-of-service (Protocols MPLS)

Syntax

class-of-service cos-value;

Hierarchy Level

[edit logical-systems logical-system-name protocols mpls],[edit logical-systems logical-system-name protocols mpls static-label-switched-path lsp-name ingress],[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name],[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name (primary | secondarypath-name],[edit protocols mpls],[edit protocols mpls label-switched-path lsp-name],[edit protocols mpls label-switched-path lsp-name (primary | secondarypath-name],[edit logical-systems logical-system-name protocols mpls static-label-switched-path lsp-name ingress]

Release Information

Statement introduced before Junos OS Release 7.4.

Description

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.

Options

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.

Published: 2012-11-29