Preference of per-VR Versus per-LSP Behavior
Example Traffic Class Configuration for Differentiated Services
Copyright © 2010, Juniper Networks, Inc.
Policy statistics are displayed when you issue the show mpls forwarding or show mpls
tunnel command, if a policy is attached and policy statistics are enabled.
To specify the traffic class for which LSP-level queues are created and the scheduler
profile to be used with the queues:
Issue the mpls traffic-class command.
host1(config)#mpls traffic-class af1 scheduler-profile af1-scheduler-profile
These classes originate from E-LSPs and L-LSPs (classes derived from the signaled
PHB-ID) or regular LSPs (classes configured with the mpls traffic-class command)
To specify the PHB supported by a signaled tunnel:
Issue the tunnel mpls diff-serv phb-id command.
host1(config-if)#tunnel mpls diff-serv phb-id standard 35 exp-bits 5
For E-LSPs, you also use this command to map the PHB to the specified exp-bits bitValue.
You can repeat the command for up to eight PHB mappings.
For L-LSPs, do not use the exp-bits keyword. If you repeat the command, the most recent
command overwrites the previous command.
MPLS always prefers the per-LSP method of matching and setting EXP bits by means
of applied policies over the per-VR method.
Per-VR matching of EXP bits is not performed on the LSP when an input policy (matching
on incoming EXP bits) is attached to the ingress segment of the LSP.
Similarly, per-VR setting of EXP bits is not performed on the LSP when an output policy
(setting the outgoing EXP bits) is attached to the egress segment of the LSP.
The commands in this example illustrate a partial network configuration that supports
four differentiated service classes on a particular tunnel: a best-effort class, two assured
forwarding classes, and an expedited forwarding class. Table 59 on page 313 presents
the mapping between EXP bits, PHB, PHB ID, and traffic class/color combination.
Table 59: Differentiated Services Mapping
EXP
PHB
000
BE
001
AF11
010
AF12
PHB ID
6-bit PHB ID
0x0000
00
0x2800
10
0x3000
12
Chapter 4: Configuring MPLS
Traffic
Class/Color
best-effort/green
af1/green
af1/yellow
313
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - BGP AND MPLS CONFIGURATION GUIDE 2010-10-12 and is the answer not in the manual?