385
DiffServ Class Commands
match ip dscp
This command adds to the specified class definition a match condition based on the value of the IP DiffServ Code Point
(DSCP) field in a packet, which is defined as the high-order six bits of the Service Type octet in the IP header (the low-order
two bits are not checked).
The
<dscpval>
value is specified as either an integer from 0 to 63, or symbolically through one of the following keywords:
af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, ef.
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.
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).
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.
Default
none
Format
match ip dscp
<dscpval>
Mode
Class-Map Config
Ipv6-Class-Map Config
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.
Default
none
Format
match ip precedence
<0-7>
Mode
Class-Map Config
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 ip tos
<tosbits> <tosmask>
Mode
Class-Map Config
Summary of Contents for DWS-4000 Series
Page 20: ...D Link Unified Switch CLI Command Reference 12 2009 D Link Corporation All Rights Reserved ...
Page 170: ...D Link Unified Switch CLI Command Reference 162 2009 D Link Corporation All Rights Reserved ...
Page 369: ...361 Captive Portal Status Commands Locale Link The names of the languages Field Description ...
Page 416: ...D Link Unified Switch CLI Command Reference 408 2009 D Link Corporation All Rights Reserved ...
Page 528: ...D Link Unified Switch CLI Command Reference 520 2009 D Link Corporation All Rights Reserved ...
Page 545: ...537 O SSupport ...
Page 546: ...D Link Unified Switch CLI Command Reference 538 2009 D Link Corporation All Rights Reserved ...
Page 566: ...D Link Unified Switch CLI Command Reference 558 2009 D Link Corporation All Rights Reserved ...