match dscp
To identify specific IP differentiated services code point (DSCP) values as match criteria for a class map, use
the match dscp command in class map configuration mode. To remove a DSCP value from a class map,
use the no form of this command.
match [not] dscp [ipv4| ipv6] dscp-value [dscp-value1 ... dscp-value7]
no match [not] dscp [ipv4| ipv6] dscp-value [dscp-value1 ... dscp-value7]
Syntax Description
(Optional) Negates the specified match result.not
(Optional) Specifies the IPv4 DSCP value.ipv4
(Optional) Specifies the IPv6 DSCP value.ipv6
IP DSCP value identifier that specifies the exact value or a range of values. Range
is 0 to 63. Up to eight IP DSCP values can be specified to match packets. Reserved
keywords can be specified instead of numeric values. Table 2: IP DSCP Reserved
Keywords, on page 45 describes the reserved keywords.
dscp-value
Command Default
Matching on both IP Version 4 (IPv4) and IPv6 packets is the default.
Command Modes
Class map configuration
Command History
ModificationRelease
This command was introduced.Release 2.0
The ipv6 and ipv4 keywords were added.Release 3.2
The not keyword was added.Release 3.3.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
The match dscp command specifies a DSCP value that is used as the match criteria against which packets
are checked to determine if they belong to the class specified by the class map.
To use the match dscp command, you must first enter the class-map command to specify the name of the
class whose match criteria you want to establish. If you specify more than one match dscp command in a
class map, only the last command entered applies.
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
44 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
match dscp