host1(config-policy-list-classifier-group)#
color green
host1(config)#
interface pos 0/0
host1(config-subif)
ip policy output core-ip-policy
5.
For traffic from the core, configure per-VR rules or per-LSP policies to set the
traffic-class/color combination—and therefore shape the egress traffic
queue—according to the value of the EXP bits in the base label. This action causes
host1(config)#
mpls match exp-bits
<value>
set traffic-class <
className
> color
Related Topics
Configuring MPLS and Differentiated Services on page 295
■
■
Configuring EXP Bits for Differentiated Services on page 296
■
Classifying Traffic for Differentiated Services on page 299
Classifying Traffic for Differentiated Services
In a differentiated services domain, traffic is classified into a behavior aggregate (BA),
based on the type of diff-serv behavior for the traffic. At each node, traffic belonging
to a particular BA is mapped to the corresponding per-hop behavior (PHB), which
provides the scheduling behavior and drop probability required by the traffic.
MPLS uses the EXP bits in the shim header to support differentiated services. The
JUNOSe software supports both statically configured and signaled mapping between
the EXP bits and the PHB of traffic.
In a signaled environment, you can configure on the ingress node the set of PHBs
that a tunnel supports, and then the set of PHBs is signaled end to end.
To support differentiated services, MPLS employs two types of LSPs: E-LSPs and
L-LSPs. The two types differ in how their PHB is determined. In the JUNOSe software,
the PHB is a combination of traffic class (also called per-hop scheduling class, or PSC)
and drop precedence (color).
■
E-LSPs (EXP-inferred-PSC LSP) can transport as many as eight BAs. For E-LSPs,
the traffic’s PHB is learned from the MPLS shim header.
■
L-LSPs (Label-only-inferred-PSC LSP) transport a single PSC. The PHB is
determined from a combination of the packet’s label, which indicates the traffic
class, and the EXP field of the shim header, which indicates the drop precedence.
■
Table 28 on page 299 indicates how the PSC (column 1) is combined with
the EXP field (column 2) to determine the PHB for incoming traffic on L-LSPs.
Table 28: Incoming L-LSP PHB Determination
PHB
=
EXP Field
+
PSC
BE
000
BE
CSn
000
CSn
Classifying Traffic for Differentiated Services
■
299
Chapter 3: Configuring MPLS
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...