
- 369 -
None
Command Mode
Class-Map Config / Ipv6-Class-Map Config
7.21.2.13 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 i nteger from 0 to 7.
Syntax
match ip precedence <0-7>
i
The ip dscp, ip precedence, and ip tos match conditions are alternative ways to specify a
match criterion for the same Service Typ e field in the IP heade r, but with a slightly different
user notation.
To specify a match on all Precedence values, use the match [not] ip tos <to sbits>
<tosmask> command with <tosbits> set to 0 and <tosmask> set to 1F (hex).
Default Setting
None
Command Mode
Class-Map Config
7.21.2.14 match ip tos
This command adds to the spe cified cla ss definition a match con dition based on t he value of th e IP TOS
field in a packet, which is defined as all eight bits of the Service Type octet in the IP header.
Syntax
match ip tos <tosbit s> <tosmask>
<tosbits> is a two-digit hexadecimal number from 00 to ff.
<tosmask> is a two-digit hexadecimal number from 00 to ff.