Navigation
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Understanding CoS Classifiers
- Defining CoS Rewrite Rules
- QFX Series standalone switches
- Understanding CoS MPLS EXP Classifiers and Rewrite Rules
- Configuring a Global MPLS EXP Classifier
- Configuring Rewrite Rules for MPLS EXP Classifiers
Configuring CoS Bits for an MPLS Network
When traffic enters a labeled-switch path (LSP) tunnel, the CoS bits in the MPLS header are set in one of two ways:
- The number of the output queue into which the packet was buffered and the packet loss priority (PLP) bit are written into the MPLS header and are used as the packet’s CoS value. This behavior is the default, and no configuration is required. The Junos OS Class of Service Library for Routing Devices explains the IP CoS values, and summarizes how the CoS bits are treated.
- You set a fixed CoS value on all packets entering the LSP tunnel. A fixed CoS value means that all packets entering the LSP receive the same class of service.
To set a fixed CoS value on all packets entering the LSP:
- Specify a class of service value for the LSP:
Note: The CoS value set using the class-of-service statement at the [edit protocols mpls] hierarchy level supersedes the CoS value set at the [edit class-of-service] hierarchy level for an interface. Effectively, the CoS value configured for an LSP overrides the CoS value set for an interface.
[edit protocols mpls]
user@switch# set class-of-service cos-value
Related Documentation
- QFabric System, QFX Series standalone switches
- Understanding CoS Classifiers
- Defining CoS Rewrite Rules
- QFX Series standalone switches
- Understanding CoS MPLS EXP Classifiers and Rewrite Rules
- Configuring a Global MPLS EXP Classifier
- Configuring Rewrite Rules for MPLS EXP Classifiers
Published: 2014-09-26
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Understanding CoS Classifiers
- Defining CoS Rewrite Rules
- QFX Series standalone switches
- Understanding CoS MPLS EXP Classifiers and Rewrite Rules
- Configuring a Global MPLS EXP Classifier
- Configuring Rewrite Rules for MPLS EXP Classifiers