![NetApp CN1610 Cli Command Reference Download Page 627](http://html.mh-extra.com/html/netapp/cn1610/cn1610_cli-command-reference_1669922627.webp)
624
DiffServ Class Commands
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.
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
tosbits
is a two-digit
hexadecimal number from 00 to ff. The value of
tosmask
is a 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 IP TOS value having bits 7 and 5 set and bit 1 clear,
where bit 7 is most significant, use a
tosbits
value of a0 (hex) and a
tosmask
of a2 (hex). Use the [not] option to negate the match condition.
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
This “free form” version of the IP DSCP/Precedence/TOS match specification
gives the user complete control when specifying which bits of the IP Service
Type field are checked.
Default
none
Format
match [not] ip precedence
0-7
Mode
Class-Map Config
Default
none
Format
match [not] ip tos
tosbits tosmask
Mode
Class-Map Config
Summary of Contents for CN1610
Page 3: ......
Page 31: ...28 Accessing the CLI ...
Page 309: ...306 Remote Monitoring Commands ...
Page 473: ...470 Port Mirroring Commands 100 ...
Page 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Page 607: ...604 IPv6 Management Commands ...