experimental value of 2 should be treated differently than a packet marked with the EXP value of 1. The
treatment of these different packets is defined by the user through the setting of QoS policies in policy map
class configuration mode.
Task ID
OperationsTask ID
read, writeqos
Examples
The following example shows how to configure the service policy called policy1 and attach service policy
policy1 to an interface. In this example, class map mplsmap1 evaluates all packets entering GigabitEthernet
interface 0/1/0/9 for an MPLS experimental value of 1. If the incoming packet has been marked with the
MPLS experimental value of 1, the packet is queued to the class queue with the bandwidth setting of 300
kbps.
RP/0/RP0/CPU0:router(config)# class-map mplsmap1
RP/0/RP0/CPU0:router(config-cmap)# match mpls experimental topmost 1
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 mplsmap1
RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth 300
RP/0/RP0/CPU0:router(config-pmap-c)# exit
RP/0/RP0/CPU0:router(config-pmap)# exit
RP/0/RP0/CPU0:router(config)# interface gigabitethernet 0/1/0/9
RP/0/RP0/CPU0:router(config-if)# service-policy input output policy1
Related Commands
DescriptionCommand
Defines a traffic class and the associated rules that match packets
to the class.
class-map, on page 12
Identifies specific IP differentiated services code point (DSCP)
values as match criteria for a class map.
match dscp, on page 44
Creates or modifies a policy map that can be attached to one or
more interfaces to specify a service policy.
policy-map, on page 67
set mpls experimental, on page 104
Displays policy configuration information for all classes configured
for all service policies on the specified interface.
show policy-map interface, on page 125
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 49
Quality of Service Commands on the Cisco IOS XR Software
match mpls experimental topmost