Configuration On The Ingress And Transit Routers - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

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.
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)#classifier-list af2-packets
host1(config)#classifier-list ef-packets
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
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
Chapter 3: Configuring MPLS
311

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents