Netgear gsm7312 Manuale Utente

Pagina di 268
User Manual for the NETGEAR 7300 Series Layer 3 Managed Switch Software 
9-12
Differentiated Services
202-10009-01
config diffserv class match srcip
This command adds to the specified class definition a match condition based on the source IP 
address of a packet. The 
<classname>
 is the name of an existing DiffServ class. The
 <ipaddr>
 
parameter specifies an IP address. The 
<ipmask>
 parameter specifies an IP address bit mask; note 
that although it resembles a standard subnet mask, this bit mask need not be contiguous. The 
optional
 [exclude] 
parameter has the effect of negating this match condition for the class (i.e., 
match all source IP addresses except for what is specified here).
Default  
none
Format  
config diffserv class match srcip <classname> <ipaddr> 
<ipmask> [exclude]
  
config diffserv class match srcl4port keyword
This command adds to the specified class definition a match condition based on the source layer 4 
port of a packet using a single keyword notation. The
 <classname>
 is the name of an existing 
DiffServ class. The value for
 <portkey> 
is one of the supported port name keywords (listed 
below). The optional
 [exclude]
 parameter has the effect of negating this match condition for the 
class (i.e., match all source layer 4 port numbers except for the one specified here).
The currently supported 
<portkey>
 values are: 
domain, echo, ftp, ftpdata, http, smtp, 
snmp, telnet, tftp, www
. Each of these translates into its equivalent port number, which is used 
as both the start and end of a port range.
Note: The srcl4port keyword, number, and range commands are alternative ways to specify a 
source layer 4 port range as a match criterion.
Default  
none
Format  
config diffserv class match srcl4port keyword 
<classname> <portkey> [exclude]
config diffserv class match srcl4port number
This command adds to the specified class definition a match condition based on the source layer 4 
port of a packet. The
 <classname>
 is the name of an existing DiffServ class. One layer 4 port 
number is required. The port number is an integer from 0 to 65535. The optional 
[exclude]
 
parameter has the effect of negating this match condition for the class (i.e., match all source layer 4 
ports except for the one specified here).