Quality of Service Commands on the Cisco IOS XR Software
Task ID
Task ID
qos
Examples
The following 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
RP/0/RP0/CPU0:router(config-pmap-c)# exit
RP/0/RP0/CPU0:router(config-pmap)# exit
RP/0/RP0/CPU0:router(config)# interface
RP/0/RP0/CPU0:router(config-if)# service-policy
Related Commands
Command
class-map, on page 12
policy-map, on page 67
service-policy (interface), on page 93
OL-23235-03
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.
Attaches a policy map to an input interface or output interface to be
used as the service policy for that interface.
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
Operations
read, write
topmost 5
pos 0/7/0/0
output policy1
set mpls experimental
105