qos-mpls map exp-dscp

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

Syntax

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

Parameters

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

Modes

Global configuration mode

exp-dscp-mapname configuration mode

Usage Guidelines

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

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 EXP-to-DSCP mutation map.

device# configure terminal
device(config)# qos-mpls map exp-dscp expDscpMap exp 1 to dscp 2
device(exp-dscp-expDscpMap)# exp 2 to dscp 4
device(exp-dscp-expDscpMap)# exp 4 to dscp 8
device(exp-dscp-expDscpMap)# exp 6 to dscp 12