Defining DiffServ
- Class: Create classes and define class criteria.
- Policy: Create policies, associate classes with policies, and define policy statements.
- Service: Add a policy to an inbound interface.
Packets are filtered, classified, and processed based on defined criteria. The filtering and classification criteria are defined by a class. The processing is defined by a policy’s attributes. Policy attributes can be defined on a per-class instance basis, and it is these attributes that are applied when a match occurs. A policy can contain multiples classes. When the policy is active, the actions taken depend on which class matches the packet.
You begin the DiffServ configuration by defining one or more match criteria for a class. Then, you set up a policy and add one or more classes to the policy. Finally, you add a service, which means that you add a policy to an inbound interface.
After the DiffServ configuration is complete, the switch begins packet processing by testing the match criteria for a packet:
-
All class type: The All class type option specifies that each match criteria within a class must be true for a packet to match that class.
-
Any class type: The Any class type option specifies that at least one match criteria must be true for a packet to match that class.