host1(config)#
mpls classifier-list be-green traffic-class best-effort color yellow
To map the specified PHB ID to the internal traffic class/color combination:
•
Issue the
mpls diff-serv phb-id traffic-class
command.
host1(config)#
mpls diff-serv phb-id standard 45 traffic-class gold color green
To create or modify an MPLS policy:
•
Issue the
mpls policy-list
command.
host1(config)#
mpls policy-list mpls-exp-setting
To enable collection of policy statistics for a tunnel or LSP. Collection is disabled by
default.
•
Issue the
mpls policy-statistics
command.
host1#
mpls policy-statistics boston2dc
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.
Preference of per-VR Versus per-LSP Behavior
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.
Copyright © 2010, Juniper Networks, Inc.
312
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...