10 match ip tos, 11 match protocol – PLANET WGS3-24000 User Manual
Page 385
![background image](https://www.manualsdir.com/files/865143/content/doc385.png)
385
The precedence value is an integer from 0 to 7. The optional [not] parameter has the effect of negating this match condition for
the class (i.e., match all IP Precedence values except for what is specified here).
"
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.
"
Note
:
To specify a match on all Precedence values, use the match [not] ip tos
▫
Default None
▫
Format
match [not] ip precedence <0-7>
▫
Mode
Class-Map Config
9.4.10 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
from 00 to ff. The value of
effect of negating this match condition for the class (i.e., match all IP Precedence values except for what is specified here). The
denotes the bit positions in
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
"
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.
"
Note
:
In essence, this the "free form" version of the IP DSCP/Precedence/TOS match specification in that the user has
complete control of specifying which bits of the IP Service Type field are checked.
▫
Default None
▫
Format
match [not] ip tos
▫
Mode
Class-Map Config
9.4.11 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
name keywords. The currently supported values are: icmp, igmp, ip, tcp, udp.
Note that a value of ip is interpreted to match 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.
The optional [not] parameter has the effect of negating this match condition for the class (i.e., match all IP Protocol numbers