exp

Defines the QoS MPLS EXP-to-DSCP or EXP-to-traffic class mutation mapping.

Syntax

exp exp-value to { dscp dscp-value } | { traffic class traffic-class-value drop-precedence }
no exp exp-value

Command Default

The default EXP-to-DSCP mapping is as follows:
 Exp      :   0   1   2   3   4   5   6   7
 --------- --------------------------------
 Dscp     :   0   8  16  24  32  40  48  56
The default EXP-to-traffic class mapping with the drop precedence is as follows:
 Exp             :   0  1  2  3  4  5  6  7
 ---------------- -------------------------
 traffic-class   :   0  1  2  3  4  5  6  7
 drop-precedence :   0  0  0  0  0  0  0  0

Parameters

exp-value
Specifies the EXP value. Enter an integer from 0 through 7.
dscp dscp-value
Specifies the DSCP value. Enter an integer from 0 through 63.
traffic class traffic-class-value
Specifies the traffic class value. Enter an integer from 0 through 7.
drop-precedence
Specifies the drop precedence for the traffic class. Enter an integer from 0 through 3.

Modes

QoS MPLS map EXP-DSCP and EXP-traffic-class configuration mode

Usage Guidelines

After configuring the mutation mapping, you can apply the map globally.

Use the no form of this command to reset the default mapping.

Examples

The following example is an MPLS QoS EXP-to-DSCP mutation map configuration.

device# configure terminal
device(config)# qos-mpls map exp-dscp expDscpMap
device(exp-dscp-expDscpMap)# exp 0 to dscp 7
device(exp-dscp-expDscpMap)# exp 1 to dscp 23
device(exp-dscp-expDscpMap)# exp 3 to dscp 31

The following example is an MPLS QoS EXP-to-traffic class mutation map configuration.

device# configure terminal
device(config)# qos-mpls map exp-traffic-class expTcMap
device(exp-traffic-class-expTcMap)# exp 0 to traffic-class 7 drop-precedence 0