Example Traffic Class Configuration for Differentiated Services
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
Traffic
Class/Color
6-bit PHB ID
PHB ID
PHB
EXP
best-effort/green
00
0x0000
BE
000
af1/green
10
0x2800
AF11
001
af1/yellow
12
0x3000
AF12
010
af1/red
14
0x3800
AF13
011
af2/green
18
0x4800
AF21
100
af2/yellow
20
0x5000
AF22
101
af2/red
22
0x5800
AF23
110
ef/green
46
0xb800
EF
111
NOTE:
This example includes both MPLS and policy configuration commands, and
assumes that you are thoroughly familiar with the information and commands presented
in the JunosE Policy Management Configuration Guide.
The four traffic classes are configured to allocate fabric resources and allow global
synchronization of the three segments of the data path through an E Series router: ingress,
fabric, and egress. The JunosE Software automatically creates the best-effort traffic
class, with a default weight of eight. You must define the remaining three classes, af1,
af2, and ef. In this example, the af1 class has twice as much fabric bandwidth as the
best-effort class, and the af2 class has twice as much fabric bandwidth as the af1 class.
The expedited forwarding traffic (the ef class) requires strict-priority queuing.
host1(config)#
traffic-class af1
host1(config-traffic-class)#
fabric-weight 16
host1(config)#
traffic-class af2
host1(config-traffic-class)#
fabric-weight 32
host1(config)#
traffic-class ef
host1(config-traffic-class)#
fabric-strict-priority
Define two scheduler profiles for the af1 and af2 classes on the egress line modules:
host1(config)#
scheduler-profile af1-scheduler-profile
313
Copyright © 2010, Juniper Networks, Inc.
Chapter 4: Configuring MPLS
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...