qos-mpls map traffic-class-exp

Creates and populates an MPLS QoS traffic class-to-EXP mutation map.

Syntax

qos-mpls map traffic-class-exp mapname { traffic-class traffic_class_value drop-precedence drop_precedence_value to exp exp_value }
[no] qos-mpls map traffic-class-exp mapname [ traffic-class traffic_class_value drop-precedence drop_precedence_value to exp exp_value ]

Parameters

mapname
The name of the MPLS QoS traffic class-to-EXP mutation map. The name can be up to 64 characters.
traffic-class
Specifies that the ingress traffic class value follows.
traffic_class_value
The ingress traffic class value. The range is from 0 through 63.
drop-precedence
Specifies that the traffic class drop precedence value follows.
drop_precedence_value
The egress traffic class drop precedencevalue. The range is from 0 through 3.
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

traffic-class-exp-mapname configuration mode

Usage Guidelines

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

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

Examples

This example creates create an MPLS QoS traffic class-to-EXP mutation map.

device# configure terminal
device(config)# qos-mpls map traffic-class-exp tcExpMap traffic-class 0 drop-precedence 2 to exp 1
device(traffic-class-exp-tcExpMap)# traffic-class 3 drop-precedence 2 to exp 4
device(traffic-class-exp-tcExpMap)# traffic-class 4 drop-precedence 2 to exp 5
device(traffic-class-exp-tcExpMap)# traffic-class 5 drop-precedence 2 to exp 6