Configures matching based on a
Differentiated Services Code Point (DSCP) value or range of values for a route-map sequence
number.
Syntax
match dscp{eq|gt|lt}value-1match dscpneqvalue-1[ … value-32]match dscprangevalue-1value-2no
match dscp{eq|gt|lt}value-1no
match dscpneqvalue-1[ … value-32]no match dscprangevalue-1value-2
Command Default
Matching based on DSCP value is not configured.
Parameters
eqvalue-1
Specifies that
matching occurs when the packet DSCP value is equal to the specified DSCP
value.
gtvalue-1
Specifies that matching
occurs when the packet DSCP value is greater than the specified DSCP value.
ltvalue-1
Specifies that matching
occurs when the packet DSCP value is less than the specified DSCP value.
neqvalue-1[ … value-32]
Specifies
that matching occurs when the packet DSCP value is not equal to all of the
specified DSCP values. You can specify a maximum of 32 values.
rangevalue-1value-2
Specifies that
matching occurs when the packet DSCP value is within the specified range of
DSCP values.
Modes
Route-map configuration mode
Usage Guidelines
Up to 128 match
dscp statements are
allowed per
route-map sequence number for the following options:
eq
range
When multiple match
dscp statements of the same type exist, matching occurs when traffic
matches any one of the statements.
Only one match dscp
statement is
allowed per
route-map sequence number for the following options:
lt
gt
neq
Note
Configuring the range option may create a lot of TCAM
entries (due to rule expansion).
The no form of the command disables the configuration.
Examples
The following example shows how to configure matching based on DSCP value (23) for sequence
number 4 under a route map named
rm.