set mpls experimental
To set the experimental (EXP) value of the Multiprotocol Label Switching (MPLS) packet topmost or imposition
labels, use the
set mpls experimental
command in policy map configuration mode. To leave the EXP value
unchanged, use the
no
form of this command.
set mpls experimental
{
topmost
}
exp-value
no set mpls experimental
{
topmost
}
exp-value
Syntax Description
Specifies to set the EXP value of the topmost label.
topmost
Value of the MPLS packet label. Range is 0 to 7.
exp-value
Command Default
No MPLS experimental value is set
Command Modes
Policy map class configuration
Command History
Modification
Release
This command was introduced.
Release 6.0
Usage Guidelines
After the MPLS experimental bits are set, other QoS services can then operate on the bit settings.
This command is supported only in ingress direction. Unconditional MPLS experimental marking is supported.
The network gives priority (or some type of expedited handling) to the marked traffic. Typically, the MPLS
experimental value is set at the edge of the network (or administrative domain) and queuing is acted on it
thereafter.
Task ID
Operations
Task
ID
read,
write
qos
Examples
This example shows how to set the MPLS experimental to 5 for packets that match access list 101:
RP/0/RP0/CPU0:router(config)#
class-map class1
RP/0/RP0/CPU0:router(config-cmap)#
match access-group ipv4 acl101
RP/0/RP0/CPU0:router(config-cmap)#
exit
RP/0/RP0/CPU0:router(config)#
policy-map policy1
RP/0/RP0/CPU0:router(config-pmap)#
class class1
RP/0/RP0/CPU0:router(config-pmap-c)#
set mpls experimental topmost 5
RP/0/RP0/CPU0:router(config-pmap-c)#
exit
RP/0/RP0/CPU0:router(config-pmap)#
exit
RP/0/RP0/CPU0:router(config)#
interface HundredGigE 0/1/0/0
RP/0/RP0/CPU0:router(config-if)#
service-policy input policy1
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
34
QoS Classification Commands
set mpls experimental