Quick Reference Guide
Quality of Service (QoS) Commands | 337
The user can display summary and detailed information for classes, policies and services. All
configuration information is accessible via the CLI and SNMP user interfaces.
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.
The no version of this command sets the DiffServ operational mode to inactive.
Syntax
[
no] diffserv
Mode
Global Config
Class Commands
The commands in this section are:
• class-map match-all on page 338
• class-map rename on page 339
• match ethertype on page 340
• match any on page 340
• match class-map on page 340
• match cos on page 341
• match destination-address mac on page 341
• match dstip on page 341
• match dstl4port on page 342
• match ip dscp on page 342
• match ip precedence on page 343
• match ip tos on page 343
• match protocol on page 343
• match source-address mac on page 344
• match srcip on page 344
• match srcl4port on page 345
• match vlan on page 345
The class command set is used in DiffServ to define:
• Traffic Classification—Specify Behavior Aggregate (BA), based on DSCP, and Multi-Field (MF)
classes of traffic (name, match criteria)
• Service Levels—Specify the BA forwarding classes / service levels. Conceptually, DiffServ is a
two-level hierarchy of classes: 1. Service/PHB, 2. Traffic Class
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 belonging to the
class. Note that once a class match criterion is created for a class, it cannot be changed or deleted - the
entire class must be deleted and re-created.
The CLI command root is class-map.