Examples
This example shows how to configure the service policy called policy1 and attach service policy
policy1 to an interface HundredGigE 0/7/0/0 . In this example, class map dscp14 evaluates all packets
entering for an IP DSCP value of 14. If the incoming packet has been marked with the IP DSCP
value of 14, the packet is queued to the class queue with the bandwidth setting of 1000 mbps.
RP/0/RP0/CPU0:router(config)# class-map dscp14
RP/0/RP0/CPU0:router(config-cmap)# match dscp ipv4 14
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 dscp14
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 HundredGigE 0/7/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
18
QoS Classification Commands
match dscp