beautypg.com

8 match destination-address mac, 9 match dstip, 10 match dstl4port – Kontron AT8902 Full Size CLI User Manual

Page 175: 11 match ip dscp, Match destination-address mac - 11, Match dstip - 11, 10 match dstl4port - 11 4.3.11 match ip dscp - 11

background image

AT8901/2/3

Page 4 - 11

AT8901/2/3 CLI Reference Manual

4.3.8

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

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).

NOTE: This command is not available on the Broadcom 5630x platform.

Default

none

Format

match destination-address mac

Mode

Class-Map Config

4.3.9

match dstip

This command adds to the specified class definition a match condition based on the
destination IP address of a packet. The

parameter specifies an IP address.

The

parameter specifies an IP address bit mask and must consist of a

contiguous set of leading 1 bits.

Default

none

Format

match dstip

Mode

Class-Map Config

4.3.10

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

>

is one of the

supported port name keywords. The currently supported

>

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 { | <0-65535>}

Mode

Class-Map Config

4.3.11

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

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.