Command Reference Guide
DiffServ Class Commands
CLI Command Reference
September 2014 Page 628
HP Moonshot Switch Module CLI Command Reference
diffserv
This command sets the DiffServ operational mode to active. While disabled, the DiffServ configuration is
retained and can be changed, but it is not activated. When enabled, DiffServ services are activated.
no diffserv
This command sets the DiffServ operational mode to inactive. While disabled, the DiffServ configuration is
retained and can be changed, but it is not activated. When enabled, DiffServ services are activated.
DiffServ Class Commands
Use the DiffServ class commands to define traffic classification. To classify traffic, you specify Behavior
Aggregate (BA), based on DSCP and Multi-Field (MF) classes of traffic (name, match criteria)
This set of commands consists of class creation/deletion and matching, with the class match commands
specifying Layer 3, Layer 2, and general match criteria. The class match criteria are also known as class rules,
with a class definition consisting of one or more rules to identify the traffic that belongs to the class.
The CLI command root is
class-map.
Format
diffserv
Mode Global Config
Format
no diffserv
Mode Global Config
Note: Once you create a class match criterion for a class, you cannot change or delete the criterion.
To change or delete a class match criterion, you must delete and re-create the entire class.