[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Static EXP-to-PHB Mapping

You can configure static EXP-to-PHB mapping at the per-VR level, only for LSPs that do not have specific policies attached (by either per-LSP configured mapping or signaled mapping). The configured mapping applies regardless of label distribution protocol, BGP. LDP, or RSVP-TE.

The PHB of incoming packets is determined from the EXP bits by the match values set with the mpls match exp-bits command.

The EXP bits of outgoing packets are determined from the PHB by the mtach values set with the mpls match traffic-class command.

To configure static EXP-to-PHB mapping:

  1. Set a combination of traffic class and color for incoming traffic that matches the specified EXP bits value in the shim header.
    host1(config)#mpls match exp-bits 1 set traffic-class bronze color red

    You can repeat the command to support the eight possible EXP bit values.

  2. Set the EXP bits in the shim header of outgoing traffic that matches a particular combination of traffic class and color.
    host1(config)#mpls match traffic-class gold color green set exp-bits 7

    You can repeat the command to support up to 24 combinations: eight traffic classes supported on the router times three colors.


[Contents] [Prev] [Next] [Index] [Report an Error]