# mpls match exp-bits

#### Syntax

mpls match exp-bits bitValue set traffic-class className color { green
| yellow | red }

no mpls match exp-bits bitValue

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets the traffic class and color for incoming MPLS packets whose EXP bits in the MPLS shim header match the specified EXP bits value. The no version reverts to the default behavior for traffic matching the specified EXP bits value, setting neither traffic class nor color.

#### Options

- bitValue—Value in the range 0–7 that matches the corresponding binary value (000–111) for the three EXP bits
- className—Name of a traffic class; the router supports up to eight traffic classes
- green—Sets packet color to green, indicating a low drop preference
- yellow—Sets packet color to yellow, indicating a medium drop preference
- red—Sets packet color to red, indicating a high drop preference

#### Mode

Global Configuration