NETGEAR L3 Switch User Manual


 
7000 Series L3 Managed Switch Reference Manual for Software v2.0
CLI Commands: Differentiated Services 9-3
Class Commands
The 'class' command set is used in DiffServ to define:
Traffic Classification Specify Behavior Aggregate (BA), based on DSCP, and Multi-
Field (MF) classes of traffic (name, match criteria)
Service Levels Specify the BA forwarding classes / service levels. Conceptually,
DiffServ is a two-level hierarchy of classes: 1. Service/PHB, 2.
Traffic Class
This set of commands consists of class creation/deletion and matching, with the class match
commands specifying layer 3, layer 2, and general match criteria. The class match criteria are also
known as class rules, with a class definition consisting of one or more rules to identify the traffic
belonging to the class. Note that once a class match criterion is created for a class, it cannot be
changed or deleted - the entire class must be deleted and re-created.
The CLI command root is
config diffserv class.
config diffserv class create acl
This command defines a new DiffServ class of type acl. The <classname> parameter is a case-
sensitive alphanumeric string from 1 to 31 characters uniquely identifying the class (Note: the
class name ‘default’ is reserved and must not be used here). The
<aclid> parameter is an integer
specifying an existing access list (ACL) number (refer to the appropriate ACL documentation for
the valid ACL number range).
An
acl 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.
Format config diffserv class create acl <classname> <aclid>