622 DiffServ Class Commands
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). Use the
[not] option to negate the match condition.
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. Use the [not] option to negate the match
condition.
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,
Format
match [not]secondary-cos
0-7
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match [not] destination-address mac
macaddr macmask
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match [not] dstip
ipaddr ipmask
Mode Class-Map Config