beautypg.com

15 match source-address mac, 16 match srcip, 17 match srcl4port – Kontron AT8901M CLI User Manual

Page 181: 18 match vlan, At8901m quality of service (qos) commands

background image

AT8901M

Quality of Service (QoS) Commands

Page 4 - 13

AT8901M CLI Reference Manual

4.3.15

match source-address mac

This command adds to the specified class definition a match condition based on the

source 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

>

parameter is a layer 2 MAC address bit mask,

which may 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 source-address mac

Mode

Class-Map Config

4.3.16

match srcip

This command adds to the specified class definition a match condition based on the
source 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 srcip

Mode

Class-Map Config

4.3.17

match srcl4port

This command adds to the specified class definition a match condition based on the
source layer 4 port of a packet using a single keyword or numeric notation. To specify
the match condition as a single keyword notation, the value for

is one of the

supported port name keywords (listed below). The currently supported

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 both the start and end of a port range.

To specify the match condition as a numeric value, one layer 4 port number is required.
The port number is an integer from 0 to 65535.

Default

none

Format

match srcl4port { | <0-65535>}

Mode

Class-Map Config

4.3.18

match vlan

This command adds to the specified class definition a match condition based on the

value of the layer 2 VLAN Identifier field (the only tag in a single tagged packet or the

first or outer tag of a double VLAN tagged packet). The VLAN ID is an integer from 1

to 4095.

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

Default

none

Format

match vlan <1-4095>