D-Link Unified Switch CLI Command Reference
Note:
•
The parameters <refclassname> and <class-map-name> can not be the same.
•
Only one other class may be referenced by a class.
•
Any attempt to delete the <refclassname> class while the class is still referenced by any <class-map-
name> fails.
•
The combined match criteria of <class-map-name> and <refclassname>
combination based on the class type.
•
Any subsequent changes to the <refclassname> class match criteria must maintain this validity, or the
change attempt fails.
•
The total number of class rules formed by the complete reference class chain (including both predecessor and
successor classes) must not exceed 12. In some cases, each removal of a refclass rule reduces the maximum
number of available rules in the class definition by one.
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. The <ipmask> parameter specifies an IP address bit 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
Ipv6-Class-Map Config
© 2009 D-Link Corporation. All Rights Reserved
384
must be an allowed