JUNOSe 11.1.x BGP and MPLS Configuration Guide
The scheduler and queue profiles are referenced in QoS profiles. For example, you
can create a QoS profile for port-based per-class queuing or for LSP-level per-class
queuing (configuration omitted).
You must map the PHB IDs to the appropriate traffic class/color combinations:
Configuration on the Ingress Router
You must access the tunnel interface to map the PHB IDs to the EXP bits. The E
Series router signals this mapping to all routers on the tunnel. You can establish
different PHB-ID–to–EXP mappings for different tunnels.
PHB-ID–to–EXP mapping for the best-effort traffic class:
PHB-ID–to–EXP mapping for the af1 traffic class:
PHB-ID–to–EXP mapping for the af2 traffic class:
PHB-ID–to–EXP mapping for the ef traffic class:
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.
310
Example Traffic Class Configuration for Differentiated Services
[Queue configuration omitted]
host1(config)#queue-profile af2-queues
[Queue configuration omitted]
host1(config)#queue-profile ef-queues
[Queue configuration omitted]
host1(config)#mpls diff-serv phb-id standard 0 traffic-class best-effort color green
host1(config)#mpls diff-serv phb-id standard 10 traffic-class af1 color green
host1(config)#mpls diff-serv phb-id standard 12 traffic-class af1 color yellow
host1(config)#mpls diff-serv phb-id standard 14 traffic-class af1 color red
host1(config)#mpls diff-serv phb-id standard 18 traffic-class af2 color green
host1(config)#mpls diff-serv phb-id standard 20 traffic-class af2 color yellow
host1(config)#mpls diff-serv phb-id standard 22 traffic-class af2 color red
host1(config)#mpls diff-serv phb-id standard 46 traffic-class ef color green
host1(config)#interface tunnel mpls:example
host1(config-if)#tunnel mpls diff-serv phb-id standard 0x0000 exp-bits 0
host1(config-if)#tunnel mpls diff-serv phb-id standard 10 exp-bits 1
host1(config-if)#tunnel mpls diff-serv phb-id standard 12 exp-bits 2
host1(config-if)#tunnel mpls diff-serv phb-id standard 14 exp-bits 3
host1(config-if)#tunnel mpls diff-serv phb-id standard 18 exp-bits 4
host1(config-if)#tunnel mpls diff-serv phb-id standard 20 exp-bits 5
host1(config-if)#tunnel mpls diff-serv phb-id standard 22 exp-bits 6
host1(config-if)#tunnel mpls diff-serv phb-id standard 46 exp-bits 7
host1(config)#classifier-list be-packets
host1(config)#classifier-list af1-packets
Need help?
Do you have a question about the BGP - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?