13 match ip tos, 14 match protocol, 13 match ip tos - 12 4.3.14 match protocol - 12 – Kontron AT8904 CLI User Manual
Page 180: Quality of service (qos) commands at8904m
Quality of Service (QoS) Commands
AT8904M
AT8904M CLI Reference Manual
Page 4 - 12
NOTE: The IP DSCP, IP Precedence, and IP ToS match conditions are alterna-
tive ways to specify a match criterion for the same Service Type field
in the IP header, but with a slightly different user notation.
Default
none
Format
match ip precedence <0-7>
Mode
Class-Map Config
4.3.13
match ip tos
This command adds to the specified class definition a match condition based on the
value of the IP TOS field in a packet, which is defined as all eight bits of the Service
Type octet in the IP header. The value of
is a two-digit hexadecimal number
from 00 to ff. The value of
is a two-digit hexadecimal number from 00 to ff.
The
denotes the bit positions in
that are used for comparison
against the IP TOS field in a packet. For example, to check for an IP TOS value having
bits 7 and 5 set and bit 1 clear, where bit 7 is most significant, use a
value of
a0 (hex) and a
of a2 (hex).
NOTE: The IP DSCP, IP Precedence, and IP ToS match conditions are alterna-
tive ways to specify a match criterion for the same Service Type field
in the IP header, but with a slightly different user notation.
NOTE: This “free form” version of the IP DSCP/Precedence/TOS match spec-
ification gives the user complete control when specifying which bits of
the IP Service Type field are checked.
Default
none
Format
match ip tos
Mode
Class-Map Config
4.3.14
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.
NOTE: This command does not validate the protocol number value against the
current list defined by IANA.
Default
none
Format
match protocol {
Mode
Class-Map Config