qos-mpls map dscp-exp

Creates and populates an MPLS QoS differentiated services code point (DSCP) to EXP mutation map.

Syntax

qos-mpls map dscp-exp mapname { dscp dscp_value to exp exp_value }
[no] qos-mpls map dscp-exp mapname [ dscp dscp_value to exp exp_value ]

Parameters

mapname
The name of the MPLS QoS DSCP-to-EXP mutation map. The name can be up to 64 characters.
dscp
Specifies that the ingress DSCP value follows.
dscp_value
The ingress DSCP value. The range is from 0 through 63.
exp
Specifies that the egress EXP value follows.
exp_value
The egress EXP value. The range is from 0 through 7.

Modes

Global configuration mode

dscp-exp-mapname configuration mode

Usage Guidelines

Creating the map and setting the initial mutation places the device into dscp-exp-mapname configuration mode where you continue to populate the map using the dscp command.

MAC filter and DSCP marking cannot be configured on the same port.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

Follow this example to create an MPLS QoS DSCP-to-EXP mutation map.

device# configure terminal
device(config)# qos-mpls map dscp-exp dscpExpMap dscp 0 to exp 1
device(dscp-exp-dscpExpMap)# dscp 3 to exp 2
device(dscp-exp-dscpExpMap)# dscp 17 to exp 4
device(dscp-exp-dscpExpMap)# dscp 61 to exp 5