User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 518
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. To specify a match
on all DSCP values, use the match [not] ip tos <tosbits> <tosmask> command with <tosbits> set to 0 and
<tosmask> set to 03 (hex).
Default None
Mode Class-Map Config / Ipv6-Class-Map Config
5.20.2.14. match ip precedence
This command adds to the specified class definition a match condition based on the value of the IP Precedence
field in a packet, which is defined as the high-order three bits of the Service Type octet in the IP header (the low-
order five bits are not checked). The precedence value is an integer from 0 to 7.
Format match ip precedence <0-7>
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.
To specify a match on all Precedence values, use the match [not] ip tos <tosbits> <tosmask> command with
<tosbits> set to 0 and <tosmask> set to 1F (hex).
Default None
Mode Class-Map Config
5.20.2.15. 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.
Format match ip tos <tosbits> <tosmask>
i
i
Parameter
Description
<0-7>
Integer from 0 to 7.
Parameter
Description
<tosbits>
Two-digit hexadecimal number from 00 to ff.
<tosmask>
Two-digit hexadecimal number from 00 to ff.
The <tosmask> denotes the bit positions in <tosbits> that are used for
comparison against the IP TOS field in a packet. For example, to check for an