# mpls diff-serv phb-id traffic-class

#### Syntax

mpls diff-serv phb-id { private privateId | standard standardId }
traffic-class className [ color { green | yellow | red } ]

no mpls diff-serv phb-id { private privateId | standard standardId }

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Maps the specified PHB ID to the internal traffic class and color combination. If color is specified, the PHB ID can be used only for E-LSPs. If color is not specified, the PHB ID can be used only for L-LSPs. The no version removes the mapping.

#### Options

- privateId—Number in the range 0–4032 designating the private PHB identifier
- standardId—Number in the range 0–63 designating the standard PHB identifier using the DSCP 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