![](/images/new-backgrounds/1299835/299835513x1.webp)
5.12.2.1class-map
This command defines a new DiffServ class of type
Syntax
class-map [ match-all ] <class-map-name>
Note: The class name 'default' is reserved and must not be used here.
When used without any match condition, this command enters the
Note: The class name 'default' is reserved and is not allowed here. The class type of
<aclid> is an integer specifying an existing ACL number (refer to the appropriate ACL documentation for the valid ACL number range). A
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 recreated. This command may be used without specifying a class type to enter the
Note: The CLI mode is changed to
Command Mode
Global Config
5.12.2.2no class-map
This command eliminates an existing DiffServ class.
Syntax
no class-map <class-map-name>
257