Class-Map - Planet WGSW-24000 User Manual

24-port 10/100/1000mbps ethernet security switch
Hide thumbs Also See for WGSW-24000:
Table of Contents

Advertisement

9.4.1 class-map

This command defines a new DiffServ class of type match-all, match-any or match-access-group. 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).
When used without any match condition, this command enters the class-map mode. The <classname>
is the name of an existing DiffServ class (note: the class name 'default' is reserved and is not allowed
here)
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.
The class match conditions are obtained from the referenced access list at the time of class
Note
:
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.
The CLI mode is changed to Class-Map Config when this command is successfully executed.
Note
:
Format
class-map [{match-all | match-any | match-access-group <aclid>}]
<classmapname>
Mode
Global Config
9.4.1.1 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

Advertisement

Table of Contents
loading

Table of Contents