â– Configuring MPLS and Differentiated Services on page 299
â– Example Differentiated Services Application and Configuration on page 300
Configuring EXP Bits for Differentiated Services
To set the initial value of the EXP bits to the UPC value associated with the packets:
â– Issue the mpls copy-upc-to-exp command.
host1(config)#mpls copy-upc-to-exp
To prevent the value of the EXP bits for a VPN/VC label from being modified by a
per-LSP policy applied for the outer labels or by per-VR traffic class/color rules:
â– Issue the mpls preserve-vpn-exp command.
host1(config)#mpls preserve-vpn-exp
Related Topics â– EXP Bits for Differentiated Services Overview on page 259
â– Configuring MPLS and Differentiated Services on page 299
â– Example Differentiated Services Application and Configuration on page 300
â– mpls copy-upc-to-exp
â– mpls preserve-vpn-exp
Example Differentiated Services Application and Configuration
Figure 64 on page 301 shows an example topology where a service provider offers
the following differentiated services to its customers over its MPLS network:
■QoS Internet service—The CE router is managed by the provider and sets the IP
precedence to predefined values. IP policy on the PE router sets the
traffic-class/color combination according to the incoming well-defined IP
precedence value. The policy also sets the UPC value to the incoming well-defined
IP precedence value.
■Plain Internet service—IP policy on the PE router leaves the traffic-class/color
combination as the default value, best-effort/green. The policy sets the UPC to 0.
■QoS VPN service—For CE-to-PE traffic, the VPN EXP is copied from the IP
precedence value when the PE router pushes VPN stacked labels.
For PE-to-CE traffic, IP policy on the PE router resets the traffic-class/color
combination according to the received, well-defined IP precedence value, so that
300 â– Configuring EXP Bits for Differentiated Services
JUNOSe 11.1.x BGP and MPLS Configuration Guide