7 match dstl4port, 8 match ip dscp, 9 match ip precedence – PLANET WGS3-24000 User Manual
Page 384

384
▫
Mode
Class-Map Config
9.4.7 match dstl4port
This command adds to the specified class definition a match condition based on the destination layer 4 port of a packet using a
single keyword or numeric notation or a numeric range notation.
To specify the match condition as a single keyword, the value for <portkey> is one of the supported port name keywords. The
currently supported <portkey> values are: domain, echo, ftp, ftpdata, http, smtp, snmp, telnet, tftp, www. Each of these
translates into its equivalent port number, which is used as both the start and end of a port range.
To specify the match condition using a numeric notation, one layer 4 port number is required. The port number is an integer from
0 to 65535.
To specify the match condition using a numeric range notation, two layer 4 port numbers are required and together they specify
a contiguous port range. Each port number is an integer from 0 to 65535, but with the added requirement that the second
number be equal to or greater than the first.
The optional [not] parameter has the effect of negating this match condition for the class (i.e., match all destination layer 4 port
numbers except for the one specified here).
▫
Default None
▫
Format
match [not] dstl4port {<portkey> | <0-65535> [<0-65535>]}
▫
Mode
Class-Map Config
9.4.8 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 optional [not] parameter has the effect of negating this match condition for the class (i.e., match all IP DSCP
values except for what is specified here). 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, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2,
cs3, cs4, cs5, cs6, cs7, ef.
"
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.
"
Note
:
To specify a match on all DSCP values, use the match [not] ip tos <tosbits> <tosmask> command with <tosbits>
set to 0 and <tosmask> set to 03 (hex).
▫
Default None
▫
Format
match [not] ip dscp <dscpval>
▫
Mode
Class-Map Config
9.4.9 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).