host1(config-scheduler-profile)#
weight 16
host1(config)#
scheduler-profile af2-scheduler-profile
host1(config-scheduler-profile)#
weight 32
Create queue profiles to define how queues are instantiated to implement the
corresponding traffic classes and PHBs. The JunosE Software automatically creates the
best-effort queue profiles.
host1(config)#
queue-profile af1-queues
[Queue configuration omitted]
host1(config)#
queue-profile af2-queues
[Queue configuration omitted]
host1(config)#
queue-profile ef-queues
[Queue configuration omitted]
The scheduler and queue profiles are referenced in QoS profiles. For example, you can
create a QoS profile for port-based per-class queuing or for LSP-level per-class queuing
(configuration omitted).
You must map the PHB IDs to the appropriate traffic class/color combinations:
host1(config)#
mpls diff-serv phb-id standard 0 traffic-class best-effort color green
host1(config)#
mpls diff-serv phb-id standard 10 traffic-class af1 color green
host1(config)#
mpls diff-serv phb-id standard 12 traffic-class af1 color yellow
host1(config)#
mpls diff-serv phb-id standard 14 traffic-class af1 color red
host1(config)#
mpls diff-serv phb-id standard 18 traffic-class af2 color green
host1(config)#
mpls diff-serv phb-id standard 20 traffic-class af2 color yellow
host1(config)#
mpls diff-serv phb-id standard 22 traffic-class af2 color red
host1(config)#
mpls diff-serv phb-id standard 46 traffic-class ef color green
Configuration on the Ingress Router
You must access the tunnel interface to map the PHB IDs to the EXP bits. The E Series
router signals this mapping to all routers on the tunnel. You can establish different
PHB-ID–to–EXP mappings for different tunnels.
host1(config)#
interface tunnel mpls:example
PHB-ID–to–EXP mapping for the best-effort traffic class:
host1(config-if)#
tunnel mpls diff-serv phb-id standard 0x0000 exp-bits 0
PHB-ID–to–EXP mapping for the af1 traffic class:
host1(config-if)#
tunnel mpls diff-serv phb-id standard 10 exp-bits 1
host1(config-if)#
tunnel mpls diff-serv phb-id standard 12 exp-bits 2
host1(config-if)#
tunnel mpls diff-serv phb-id standard 14 exp-bits 3
PHB-ID–to–EXP mapping for the af2 traffic class:
host1(config-if)#
tunnel mpls diff-serv phb-id standard 18 exp-bits 4
host1(config-if)#
tunnel mpls diff-serv phb-id standard 20 exp-bits 5
host1(config-if)#
tunnel mpls diff-serv phb-id standard 22 exp-bits 6
PHB-ID–to–EXP mapping for the ef traffic class:
host1(config-if)#
tunnel mpls diff-serv phb-id standard 46 exp-bits 7
Copyright © 2010, Juniper Networks, Inc.
314
JunosE 11.2.x BGP and MPLS Configuration Guide
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...