Specifications

Table Of Contents
set mpls experimental imposition
MP-415
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Usage Guidelines The set mpls experimental imposition command is supported only on input interfaces. Use this
command during label imposition. This command sets the MPLS EXP field on all imposed label entries.
Using This Command with the Enhanced Packet Marking Feature
If you are using this command as part of the Enhanced Packet Marking feature, you can use this
command to specify the “from-field” packet-marking category to be used for mapping and setting the
class of service (CoS) value. The “from-field” packet-marking categories are as follows:
Precedence
Differentiated services code point (DSCP)
If you specify a “from-field” category but do not specify the ta
ble keyword and the applicable
table-map-name argument, the default action will be to copy the value associated with the “from-field”
category as the MPLS EXP imposition value. For instance, if you configure the set mpls experimental
imposition precedence command, the precedence value will be copied and used as the MPLS EXP
imposition value.
If you configure the se
t mpls experimental imposition dscp command, the DSCP value will be copied
and used as the MPLS EXP imposition value.
Note If you configure the set mpls experimental imposition dscp command, only the first three bits (the class
selector bits) of the DSCP field are used.
Cisco 10000 Series Router
Cisco IOS software replaced the set mpls experimental command with the set mpls experimental
imposition command. However, the Cisco 10000 series router continues to use the se
t mpls
experimental command for ESR–PRE1. For ESR–PRE2, the command is set mpls experimental
imposition.
Examples The following example shows how to set the MPLS EXP value to 3 on all imposed label entries:
Router(config-pmap-c)# set mpls experimental imposition 3
The following example shows how to create the policy map named policy1 to use the packet-marking
values defined in a table map named table-map1. The table map was created earlier with the table-map
(value mapping) command. For more information about the table-map (value mapping) command, see
the table-map (value mapping) command page. The MPLS EXP imposition value is set according to the
DSCP value defined in table-map1.
Router(config)# policy-map policy1
Router(config-pmap)# class class-default
Router(config-pmap-c)# set mpls experimental imposition dscp table table-map1
Router(config-pmap-c)# exit
12.2(31)SB This command was integrated into Cisco IOS Release 12.2(31)SB.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train.
S
upport in a specific 12.2SX release of this train depends on your
feature set, platform, and platform hardware.
Release Modification