Class-Map Rename; Match Any; Match Class-Map - Planet Networking & Communication WGS3-24000 User Manual

Table of Contents

Advertisement

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 creation. Thus, any
Note
:
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
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

9.4.2 class-map rename

This command changes the name of a DiffServ class. The <classname> is the name of an existing DiffServ class. The
<newclassname> 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).
Default
None
Format
class-map rename <classname> <newclassname>
Mode
Global Config

9.4.3 match any

This command adds to the specified class definition a match condition whereby all packets are considered to belong to the class.
The optional [not] 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).
Default
None
Format
match [not] any
Mode
Class-Map Config

9.4.4 match class-map

This command adds to the specified class definition the set of match conditions defined for another 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 [not] option for this match command.
:
Default
None
382

Advertisement

Table of Contents
loading

Table of Contents