Quality of Service (QoS) Commands | 337The user can display summary and detailed information for classes, policies and services. Allconfiguration information is accessible via the CLI and SNMP user interfaces.diffserv This command sets the DiffServ operational mode to active. While disabled, the DiffServconfiguration is retained and can be changed, but it is not activated. When enabled, Diffserv servicesare activated.The no version of this command sets the DiffServ operational mode to inactive.Syntax [no] diffservMode Global ConfigClass CommandsThe 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 345The 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 atwo-level hierarchy of classes: 1. Service/PHB, 2. Traffic ClassThis set of commands consists of class creation/deletion and matching, with the class match commandsspecifying Layer 3, Layer 2, and general match criteria. The class match criteria are also known asclass rules, with a class definition consisting of one or more rules to identify the traffic belonging to theclass. Note that once a class match criterion is created for a class, it cannot be changed or deleted - theentire class must be deleted and re-created.The CLI command root is class-map.