Examples
This 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
HundredGigabit Ethernet 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 1000 mbps.
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 1000 mbps
RP/0/RP0/CPU0:router(config-pmap-c)#
exit
RP/0/RP0/CPU0:router(config-pmap)#
exit
RP/0/RP0/CPU0:router(config)#
interface HundredGigabitEthernet
0/1/0/9
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
20
QoS Classification Commands
match mpls experimental topmost