set mpls experimental
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
topmost
exp-value
No MPLS experimental value is set
Command Default
Policy map class configuration
Command Modes
Command History
Release
Release 6.0
After the MPLS experimental bits are set, other QoS services can then operate on the bit settings.
Usage Guidelines
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
Task
ID
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
Specifies to set the EXP value of the topmost label.
Value of the MPLS packet label. Range is 0 to 7.
Operations
read,
write
QoS Classification Commands
Modification
This command was introduced.