7000 Series L3 Managed Switch Reference Manual for Software v2.0
CLI Commands: Differentiated Services 9-1
Chapter 9
CLI Commands: Differentiated Services
This chapter contains the CLI commands used for the QOS Differentiated Services (DiffServ)
package.
The user configures DiffServ in several stages by specifying:
• Class
– creating and deleting classes
– defining match criteria for a class
• Policy
– creating and deleting policies
– associating classes with a policy
– defining policy statements for a policy/class combination
•Service
– adding and removing a policy to/from a directional (i.e., inbound, outbound) interface
Additionally, the user can display summary and detailed information for each of the above
configuration elements. All configuration information is accessible via the CLI, Web, and SNMP
user interfaces.
Note that the type of class - all, any, or acl - has a bearing on the validity of match criteria specified
when defining the class. A class type of 'any' processes its match rules in an ordered sequence;
additional rules specified for such a class simply extend this list. A class type of ‘acl’ obtains its
rule list by interpreting each ACL rule definition at the time the Diffserv class is created.
Differences arise when specifying match criteria for a class type 'all', since only one value for each
non-excluded match field is allowed within a class definition. If a field is already specified for a
class, all subsequent attempts to specify the same field fail, including the cases where a field can
be specified multiple ways through alternative formats. The exception to this is when the 'exclude'
option is specified, in which case this restriction does not apply to the excluded fields. The only
way to remove an individual match criterion from an existing class definition is to delete the class
and re-create it.