Netgear gsm7312 사용자 설명서

다운로드
페이지 268
User Manual for the NETGEAR 7300 Series Layer 3 Managed Switch Software 
Differentiated Services
9-9
202-10009-01
config diffserv class match ipprecedence
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 
<classname>
 is the name of an 
existing DiffServ class. The precedence value is an integer from 0 to 7. The optional
 [exclude]
 
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 ipdscp, ipprecedence, and iptos 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 config diffserv class match iptos 
command with 
<tosbits> 
set to 0 and
 <tosmask>
 set to 1F (hex).
Default  
none
Format  
config diffserv class match ipprecedence <classname> 
<0-7> [exclude]
config diffserv class match iptos
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 
<classname>
 is the name of an existing DiffServ class. 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 optional 
[exclude]
 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).
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 ipdscp, ipprecedence, and iptos 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.