qos-mpls map exp-traffic-class

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

Syntax

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

Parameters

mapname
The name of the MPLS QoS EXP-to-traffic class 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.
traffic-class
Specifies that the egress traffic class value follows.
traffic_class_value
The egress 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.

Modes

Global configuration mode

exp-traffic-class-mapname configuration mode

Usage Guidelines

Creating the map and setting the initial mutation places the device into exp-traffic-class-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-traffic class mutation map.

device# configure terminal
device(config)# qos-mpls map exp-traffic-class expTCMap exp 1 to traffic-class 2 drop-precedence 2
device(exp-traffic-class-expTCMap)# exp 2 to traffic-class 4 drop-precedence 2
device(exp-traffic-class-expTCMap)# exp 4 to traffic-class 8 drop-precedence 2
device(exp-traffic-class-expTCMap)# exp 6 to traffic-class 12 drop-precedence 2