Reserved KeywordDSCP Value
CS540
CS648
CS756
ipv4 dscpipv4
ipv6 dscpipv6
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 dscp14 evaluates all packets entering
Packet-over-SONET/SDH (POS) interface 0/1/0/0 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 300 kbps.
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 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 pos 0/1/0/0
RP/0/RP0/CPU0:router(config-if)# service-policy input policy1
Related Commands
DescriptionCommand
Defines a traffic class and the associated rules that match packets to
the class.
class-map, on page 12
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
Marks a packet by setting the IP differentiated services code
point (DSCP) in the type of service (ToS) byte.
set dscp, on page 102
Enables packet matching on the basis of the ATM operations,
administration, and maintenance (OAM) or cell loss priority (CLP).
match atm, on page 34
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
46 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
match dscp