DiffServ Class Commands 235
5 Quality of Service (QoS) Commands
no match class-map
This command removes from the specified class definition the set of match conditions defined
for another class. The
<refclassname> is the name of an existing DiffServ class whose match
conditions are being referenced by the specified class definition.
Format
no match class-map <refclassname>
Mode Class-Map Config
match dstip
This command adds to the specified class definition a match condition based on the
destination IP address of a packet. The
<ipaddr> parameter specifies an IP address, and
<ippmask> specifies a subnet mask and must consist of a contiguous set of leading 1 bits.
Default none
Format
match dstip <ipaddr> <ipmask>
Mode Class-Map Config
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. 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. 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.
Default none
Format
match dstl4port {<portkey> | <0-65535>}
Mode Class-Map Config
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, 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.
Default none
Format
match ip dscp <dscpval>
Mode Class-Map Config