host1(config)#
mpls classifier-list af2-green traffic-class af2 color green
host1(config)#
mpls classifier-list af2-yellow traffic-class af2 color yellow
host1(config)#
mpls classifier-list af2-red traffic-class af2 color red
host1(config)#
mpls policy-list mpls-exp-setting
host1(config-policy-list)#
mark 0 classifier-group be-green
host1(config-policy-list)#
mark 1 classifier-group af1-green
host1(config-policy-list)#
mark 2 classifier-group af1-yellow
host1(config-policy-list)#
mark 3 classifier-group af1-red
host1(config-policy-list)#
mark 4 classifier-group af2-green
host1(config-policy-list)#
mark 5 classifier-group af2-yellow
host1(config-policy-list)#
mark 6 classifier-group af2-red
host1(config-policy-list)#
mark 7 classifier-group ef-green
NOTE:
For a topology-driven LSP, you have to configure and apply the classifier list
and policy list manually.
Configuration on the Transit and Egress Routers
When the tunnel is established, the JunosE Software automatically creates an input
policy to match the EXP bits and map them to the traffic-class/color combinations and
attaches the policy to the incoming segment of the tunnel. The JunosE Software generates
classifier list and policy list names, and creates the policy as if the following commands
were entered:
NOTE:
You do not actually issue these commands; they represent the behavior
automatically performed by the router.
host1(config)#
mpls classifier-list bf-packets exp 0
host1(config)#
mpls classifier-list af11-packets exp 1
host1(config)#
mpls classifier-list af12-packets exp 2
host1(config)#
mpls classifier-list af13-packets exp 3
host1(config)#
mpls classifier-list af21-packets exp 4
host1(config)#
mpls classifier-list af22-packets exp 5
host1(config)#
mpls classifier-list af22-packets exp 6
host1(config)#
mpls classifier-list ef-packets exp 7
host1(config)#
mpls policy-list mpls-exp-matching
host1(config-policy-list)#
traffic-class best-effort classifier-group bf-packets
host1(config-policy-list)#
traffic-class af1 classifier-group af11-packets
host1(config-policy-list)#
traffic-class af1 classifier-group af12-packets
host1(config-policy-list)#
traffic-class af1 classifier-group af13-packets
host1(config-policy-list)#
traffic-class af2 classifier-group af21-packets
host1(config-policy-list)#
traffic-class af2 classifier-group af22-packets
host1(config-policy-list)#
traffic-class af2 classifier-group af23-packets
host1(config-policy-list)#
traffic-class ef classifier-group ef-packets
host1(config-policy-list)#
color green classifier-group af11-packets
host1(config-policy-list)#
color green classifier-group af21-packets
host1(config-policy-list)#
color yellow classifier-group af12-packets
host1(config-policy-list)#
color yellow classifier-group af22-packets
host1(config-policy-list)#
color red classifier-group af13-packets
host1(config-policy-list)#
color red classifier-group af23-packets
Copyright © 2010, Juniper Networks, Inc.
316
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...