Netgear gsm7312 Manuale Utente
User Manual for the NETGEAR 7300 Series Layer 3 Managed Switch Software
9-6
Differentiated Services
202-10009-01
config diffserv class match dstip
This command adds to the specified class definition a match condition based on the destination IP
address of a packet. The
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 similar to 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
destination IP addresses except for what is specified here).
Default
none
Format
config diffserv class match dstip <classname> <ipaddr>
<ipmask> [exclude]
config diffserv class match dstl4port keyword
This command adds to the specified class definition a match condition based on the destination
layer 4 port of a packet using a single keyword notation. The
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 destination layer 4 port numbers except for the one specified here).
the class (i.e., match all destination 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 dstl4port keyword, number, and range commands are alternative ways to specify a
destination layer 4 port range as a match criterion.
destination layer 4 port range as a match criterion.
Default
none
Format
config diffserv class match dstl4port keyword
<classname> <portkey> [exclude]
config diffserv class match dstl4port number
This command adds to the specified class definition a match condition based on the destination
layer 4 port of a packet using a numeric notation. The
layer 4 port of a packet using a numeric notation. 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
65535. The optional
[exclude]
parameter has the effect of negating this match condition for the
class (i.e., match all destination layer 4 port numbers except for the one specified here).