NETGEAR L3 Switch User Manual


 
7000 Series L3 Managed Switch Reference Manual for Software v2.0
CLI Commands: Differentiated Services 9-7
config diffserv class match dstl4port range
This command adds to the specified class definition a match condition based on the destination
layer 4 port of a packet using a numeric range notation. The
<classname> is the name of an
existing DiffServ class. Two layer 4 port numbers are required and together they specify a
contiguous port range. Each port number is an integer from 0 to 65535, but with the added
requirement that the second number be equal to or greater than the first. 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 those within the range specified here).
Note: The dstl4port keyword, number, and range commands are alternative ways to specify a
destination layer 4 port range as a match criterion.
Default none
Format config diffserv class match dstl4port range <class-
name> <0-65535> <0-65535> [exclude]
config diffserv class match dstmac
This command adds to the specified class definition a match condition based on the destination
MAC address of a packet. The
<classname> is the name of an existing DiffServ class. The
<macaddr> parameter is any layer 2 MAC address formatted as six, two-digit hexadecimal
numbers separated by colons (e.g., 00:11:22:dd:ee:ff). The
<macmask> parameter is a layer 2 MAC
address bit mask, which need not be contiguous, and is formatted as six, two-digit hexadecimal
numbers separated by colons (e.g., ff:07:23:ff:fe:dc). The optional
[exclude] parameter has the
effect of negating this match condition for the class (i.e., match all destination MAC addresses
except for what is specified here).
Default none
Format config diffserv class match dstmac <classname> <mac-
addr> <macmask> [exclude]
config diffserv class match every
This command adds to the specified class definition a match condition whereby all packets are
considered to belong to the class. The
<classname> is the name of an existing DiffServ class. The
optional
[exclude] parameter has the effect of negating this match condition for the class (i.e.,
none of the packets are considered to belong to the class).