234 © 2001- 2008 D-Link Corporation/D-Link Systems, Inc. All Rights Reserved.
CLI Command Reference
command may be issued at any time; if the class is currently referenced by one or more
policies or by any other class, the delete action fails.
Format
no class-map <class-map-name>
Mode Global Config
class-map rename
This command changes the name of a DiffServ class. The <class-map-name> is the name of
an existing DiffServ class. The
<new-class-map-name> parameter is a case-sensitive
alphanumeric string from 1 to 31 characters uniquely identifying the class (The
<class-map-
name> ‘default’ is reserved and must not be used here).
Default none
Format
class-map rename <class-map-name> <new-class-map-name>
Mode Global Config
match any
This command adds to the specified class definition a match condition whereby all packets are
considered to belong to the class.
Default none
Format
match any
Mode Class-Map Config
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. There is no default value.
Format
match class-map <refclassname>
Mode Class-Map Config
NOTE:
• The parameters <refclassname> and <class-map-name> can not be the same.
• Only one other class may be referenced by a class.
• Any attempts to delete the
<refclassname> class while the class is still referenced by any
<class-map-name> fails.
• The combined match criteria of
<class-map-name> 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 fails.
• The total number of class rules formed by the complete reference class chain (including
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.