5 match class-map, 6 no match class-map – Fortinet MR1 User Manual

Page 259

Advertising
background image

259

Command Mode

Class-Map Config

5.12.2.5 match class-map


This command adds to the specified class definition the set of match conditions defined for
another class.

Syntax

match class-map <refclassname>


<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

Command Mode

Class-Map Config

Restrictions The class types of both <classname> and <refclassname> must be identical
(that is, 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> (that is, 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 referenced by any <classname> shall fail.

The combined match criteria of <classname> and <refclassname> must be an allowed
combination based on the class type. Any subsequent changes to the <refclassname>
class match criteria 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 maximum number of available rules in the
class definition by one.

5.12.2.6 no match class-map


This command removes from the specified class definition the set of match conditions
defined for another class.

Syntax

Advertising