15 match protocol, 16 match source-address mac, 17 match srcip – Kontron AT8404 CLI User Manual
Page 189: Match protocol - 15, Match source-address mac - 15, Match srcip - 15, At8404 quality of service (qos) commands

AT8404
Quality of Service (QoS) Commands
Page 3 - 15
AT8404 CLI Reference Manual
3.3.15
match protocol
This command adds to the specified class definition a match condition based on the value of the IP Protocol field in
a packet using a single keyword notation or a numeric value notation.
To specify the match condition using a single keyword notation, the value for <protocol-name> is one of the
supported protocol name keywords. The currently supported values are: icmp, igmp, ip, tcp, udp. A value of ip
matches all protocol number values.
To specify the match condition using a numeric value notation, the protocol number is a standard value assigned by
IANA and is interpreted as an integer from 0 to 255.
3.3.16
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 <address> 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
may not be contiguous, and is formatted as six, two-digit hexadecimal numbers separated by colons (e.g.,
ff:07:23:ff:fe:dc).
3.3.17
match srcip
This command adds to the specified class definition a match condition based on the source 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.
Note: This command does not validate the protocol number value against the current list defined by
IANA.
Default
none
Format
match protocol {<protocol-name> | <0-255>}
Mode
Ipv6-Class-Map Config
Class-Map Config
Note: This command is not available on the Broadcom 5630x platform.
Default
none
Format
match source-address mac <address> <macmask>
Mode
Ipv6-Class-Map Config
Class-Map Config
Default
none
Format
match srcip <ipaddr> <ipmask>
Mode
Class-Map Config