User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
11-10 Quality of Service (QoS) Commands
202-10088-01, March 2005
The class type of match-all indicates all of the individual match conditions must be true for a
packet to be considered a member of the class.
The class type of match-any indicates only one of the match criteria must be true for a packet to
belong to the class; multiple matching criteria are evaluated in a sequential order, with the highest
precedence awarded to the first criterion defined for the class.
The class type of match-access-group indicates the individual class match criteria are evaluated
based on an access list (ACL). The <aclid> parameter is an integer specifying an existing ACL
number (refer to the appropriate ACL documentation for the valid ACL number range). A match-
access-group class type copies its set of match criteria from the current rule definition of the
specified ACL number. All elements of a single ACL Rule are treated by DiffServ as a grouped
set, similar to class type all. For any class, at least one class match condition must be specified for
the class to be considered valid.
Note: The class match conditions are obtained from the referenced access list at the time of class
creation. Thus, any subsequent changes to the referenced ACL definition do not affect the
DiffServ class. To pick up the latest ACL definition, the DiffServ class must be deleted and re-
created.
This command may be used without specifying a class type to enter the Class-Map Config mode
for an existing DiffServ class.
Note: The CLI mode is changed to Class-Map Config when this command is successfully
executed.
Format
class-map {<match-all | match-any | match-access-
group> <aclid>} <classmapname>
Mode Global Config
no class-map
This command eliminates an existing DiffServ class. The <classname> is the name of an existing
DiffServ class (note: the class name 'default' is reserved and is not allowed here). This command
may be issued at any time; if the class is currently referenced by one or more policies or by any
other class, this deletion attempt shall fail.
Format
no class-map <classname>
Mode Global Config