5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1163
12-29 match ip dscp
This command adds to the specified class definition a match condition based on the value of the IP
DiffServ Code Point (DSCP) field in a packet, which is defined as the high-order six bits of the Service
Type octet in the IP header (the low-order two bits are not checked).
The
dscpval
value is specified as either an integer from 0 to 63, or symbolically through one of the
following keywords: af11, af12, af13, af21, af22 af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3,
cs4, cs5, cs6, cs7, ef. Use the [
not
] option to the match condition.
Note:
The ip dscp, ip precedence, and ip tos match conditions are alternative ways to specify a match
criterion for the same Service Type field in the IP header, but with a slightly different user notation.
match ip dscp dscpval
Parameters
dscpval
Specified as either an integer from 0 to 63, or symbolically through one
of the following keywords: af11, af12, af13, af21, af22, af23, af31, af32,
af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, ef.
Default
The default is None.
Command Mode
Class-Map Config
12-30 match ip precedence
This command adds to the specified class definition a match condition based on the value of the IP
Precedence field in a packet, which is defined as the high-order three bits of the Service Type octet in the
IP header (the low-order five bits are not checked). The precedence value is an integer from 0 to 7. Use
the [
not
] option to negate the match condition.
Note:
The lP DSCP, IP Precedence, and IP ToS match conditions are alternative ways to specify a match
criterion for the same Service Type field in the IP header, but with a slightly different user notation.
match [not] ip precedence 0-7
Parameters
not
(Optional) Specify to negate the match condition.
Default
The default is None.