
219
9.4.7 match destination-address mac
This command adds to the specified class definition a match condition based on the destination
MAC address of a packet. The <macaddr> parameter is any layer 2 MAC address formatted as six,
two-digit hexadecimal numbers separated by colons (e.g., 00:11:22:dd:ee:ff). The <
macmask>
parameter is a layer 2 MAC address bit mask, which need not be contiguous, and is formatted as
six, two-digit hexadecimal numbers separated by colons (e.g., ff:07:23:ff:fe:dc). The optional [
not]
parameter has the effect of negating this match condition for the class (i.e., match all destination
MAC addresses except for what is specified here).
Default
none
Format
match [not] destination-address mac <macaddr> <macmask>
Mode
Class-Map Config
9.4.8 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; note that although similar to a standard subnet mask, this bit
mask need not be contiguous. The optional [
not]
parameter has the effect of negating this match
condition for the class (i.e., match all destination IP addresses except for what is specified here).
Default
none
Format
match [not] dstip <ipaddr> <ipmask>
Mode
Class-Map Config
9.4.9 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 boththe 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]
Содержание DN-80233
Страница 1: ...User Manual Dynamic 24 PORT MANAGED GIGABIT SWITCH DN 80233 ...
Страница 25: ...24 ...
Страница 28: ...27 ...
Страница 29: ...28 ...
Страница 30: ...29 ...
Страница 31: ...30 ...
Страница 107: ...106 and no spaces use a hyphen to designate a range of IDs For example you may set vtrunk set 1 2 5 8 ...
Страница 149: ...148 Default 0 Format vlan priority priority Mode Interface Config ...
Страница 224: ...223 Mode Class Map Config ...
Страница 293: ...292 11 6 51 1 no trapflags This command disables OSPF traps Format no trapflags Mode Router OSPF Config ...