Preference Of Per-Vr Versus Per-Lsp Behavior; Example Traffic Class Configuration For Differentiated Services - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

JUNOSe 11.1.x BGP and MPLS Configuration Guide
Policy statistics are displayed when you issue the show mpls forwarding or show
mpls tunnel command, if a policy is attached and policy statistics are enabled.
To specify the traffic class for which LSP-level queues are created and the scheduler
profile to be used with the queues:
These classes originate from E-LSPs and L-LSPs (classes derived from the signaled
PHB-ID) or regular LSPs (classes configured with the mpls traffic-class command)
To specify the PHB supported by a signaled tunnel:
For E-LSPs, you also use this command to map the PHB to the specified exp-bits
bitValue. You can repeat the command for up to eight PHB mappings.
For L-LSPs, do not use the exp-bits keyword. If you repeat the command, the most
recent command overwrites the previous command.

Preference of per-VR Versus per-LSP Behavior

MPLS always prefers the per-LSP method of matching and setting EXP bits by means
of applied policies over the per-VR method.
Per-VR matching of EXP bits is not performed on the LSP when an input policy
(matching on incoming EXP bits) is attached to the ingress segment of the LSP.
Similarly, per-VR setting of EXP bits is not performed on the LSP when an output
policy (setting the outgoing EXP bits) is attached to the egress segment of the LSP.

Example Traffic Class Configuration for Differentiated Services

The commands in this example illustrate a partial network configuration that supports
four differentiated service classes on a particular tunnel: a best-effort class, two
assured forwarding classes, and an expedited forwarding class. Table 32 on page 309
presents the mapping between EXP bits, PHB, PHB ID, and traffic class/color
combination.
308
Preference of per-VR Versus per-LSP Behavior
Issue the mpls policy-statistics command.
host1#mpls policy-statistics boston2dc
Issue the mpls traffic-class command.
host1(config)#mpls traffic-class af1 scheduler-profile af1-scheduler-profile
Issue the tunnel mpls diff-serv phb-id command.
host1(config-if)#tunnel mpls diff-serv phb-id standard 35 exp-bits 5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents