Define classifier control lists to classify the incoming packets into classifier groups.
Although not shown here, for each CLACL you must define the rules that will select the
appropriate incoming packets: be, af1, af2, or ef.
host1(config)#
classifier-list be-packets
host1(config)#
classifier-list af1-packets
host1(config)#
classifier-list af2-packets
host1(config)#
classifier-list ef-packets
Define a policy that maps the selected packets into traffic classes. For the assured
forwarding classes, this example uses rate limit profiles to set the colors.
host1(config)#
policy-list classify-packets
host1(config-policy-list)#
traffic-class best-effort classifier-group bf-packets
host1(config-policy-list)#
traffic-class ef classifier-group ef-packets
host1(config-policy-list)#
traffic-class af1 classifier-group af1-packets
host1(config-policy-list)#
traffic-class af2 classifier-group af2-packets
host1(config-policy-list)#
rate-limit-profile af1-profile classifier-group af1-packets
host1(config-policy-list)#
rate-limit-profile af2-profile classifier-group af2-packets
host1(config)#
rate-limit-profile af1-profile
host1(config-rate-limit-profile)#
committed-rate 6000000
host1(config-rate-limit-profile)#
committed-burst 1000000
host1(config-rate-limit-profile)#
peak-rate 8000000
host1(config-rate-limit-profile)#
peak-burst 1000000
host1(config)#
rate-limit-profile af2-profile
host1(config-rate-limit-profile)#
committed-rate 8000000
host1(config-rate-limit-profile)#
committed-burst 1500000
host1(config-rate-limit-profile)#
peak-rate 12000000
host1(config-rate-limit-profile)#
peak-burst 1000000
You attach the policy to the ingress interface of the ingress router. As packets arrive, they
are classified with the internal traffic class/color combination and forwarded into the
appropriate queues in the fabric. When the packets are sent into the tunnel out of the
ingress router, the EXP bits are set according to the router-generated policy (in this
example called mpls-exp-setting) that the JunosE Software automatically attached to
the tunnel.
Configuration on the Ingress and Transit Routers
When the tunnel is established, the JunosE Software automatically creates an output
policy to map traffic-class/color combinations to EXP bits and attaches the policy to
the outgoing segment of the tunnel. The JunosE Software generates classifier list and
policy list names, and creates the EXP-setting 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 be-green traffic-class best-effort color green
host1(config)
#mpls classifier-list ef-green traffic-class ef color green
host1(config)#
mpls classifier-list af1-green traffic-class af1 color green
host1(config)#
mpls classifier-list af1-yellow traffic-class af1 color yellow
host1(config)#
mpls classifier-list af1-red traffic-class af1 color red
315
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...