match precedence
RP/0/RP0/CPU0:router(config)# class-map ipprec5
RP/0/RP0/CPU0:router(config-cmap)# match precedence ipv4 5
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 ipprec5
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 policy1
Related Commands
Command
class-map, on page 12
policy-map, on page 67
set precedence, on page 106
show policy-map interface, on page 125
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
52
Quality of Service Commands on the Cisco IOS XR Software
Description
Defines a traffic class and the associated rules that match packets
to the class.
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
Sets the precedence value in the IP header.
Displays policy configuration information for all classes configured
for all service policies on the specified interface.
OL-23235-03