NETGEAR L3 Switch User Manual


 
7000 Series L3 Managed Switch Reference Manual for Software v2.0
CLI Commands: Differentiated Services 9-11
config diffserv class match refclass
This command adds to or removes from the specified class definition the set of match conditions
defined for another class. The
<classname> is the name of an existing DiffServ class. The
<refclassname> is the name of an existing DiffServ class whose match conditions are being
referenced by the specified class definition.
Note: there is no
[exclude] option for this match command.
Default none
Format config diffserv class match refclass <add/remove>
<classname> <refclassname>
Restrictions
The class types of both <classname> and <refclassname> must
be identical (i.e., any vs. any, or all vs. all). A class type of acl is
not supported by this command.
Cannot specify
<refclassname> the same as <classname> (i.e.,
self-referencing of class name not allowed).
At most one other class may be referenced by a class.
Any attempt to delete the
<refclassname> class while still refer-
enced by any <
classname> shall fail.
The combined match criteria of
<classname> and <refclass-
name>
must be an allowed combination based on the class type.
Any subsequent changes to the
<refclassname> class match cri-
teria must maintain this validity, or the change attempt shall fail.
The total number of class rules formed by the complete reference
class chain (includes both predecessor and successor classes)
must not exceed a platform-specific maximum.
In some cases, each removal of a refclass rule reduces the maxi-
mum number of available rules in the class definition by one.
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).