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
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
Example Traffic Class Configuration for Differentiated Services
■
307
Chapter 3: Configuring MPLS
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...