The network gives priority (or some type of expedited handling) to marked traffic. Typically, you set the
DSCP value at the edge of the network (or administrative domain); data then is queued based on the DSCP
value. Modified Deficit Round Robin (MDRR) can speed up handling for high DSCP traffic at congestion
points. Weighted Random Early Detection (WRED) ensures that high DSCP traffic has lower loss rates than
other traffic during times of congestion.
Reserved keywords can be specified instead of numeric values. Table 2: IP DSCP Reserved Keywords, on
page 45 describes the reserved keywords.
Task ID
OperationsTask ID
read, writeqos
Examples
In the following example, the DSCP ToS byte is set to 8 in the policy map called policy1. All packets that
satisfy the match criteria of class1 are marked with the DSCP value of 8. The network configuration determines
how packets are marked.
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 dscp 8
Related Commands
DescriptionCommand
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
Attaches a policy map to an input interface or output interface to
be used as the service policy for that interface.
service-policy (interface), on page 93
Sets the precedence value in the IP header.set precedence, on page 106
Displays policy configuration information for all classes configured
for all service policies on the specified interface.
show policy-map interface, on page 125
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 103
Quality of Service Commands on the Cisco IOS XR Software
set dscp