QoS functionality is typically applied using traffic classes, class maps, and policy-maps. For example, you can specify that
traffic belonging to a particular class be grouped into specific categories, and receive a specific QoS treatment (such as
classification or policing). The QoS treatment the traffic is to receive is specified in a policy-map and the policy-map is
attached to an interface. The mechanism used for applying QoS in this manner is the modular QoS CLI (MQC.)
The policy-map can be attached to an interface in either the incoming (ingress) or outgoing (egress) direction with the service-policy command.
The MQC structure allows you to define a traffic class, create a traffic policy, and attach the traffic policy to an interface
(in this case, an EVC).
The MQC structure consists of the following three high-level steps.
-
Define a traffic class by using the
class-map command. A traffic class is used to classify traffic.
-
Create a traffic policy by using the policy-map command. (The terms traffic
policy and policy-map are often synonymous.) A traffic policy (policy-map) contains a traffic class and one or more QoS features that will be applied
to the traffic class. The QoS features in the traffic policy determine how to treat the classified traffic.
-
Attach the traffic policy (policy-map) to the interface by using the service-policy command.
Note |
For more information about the MQC, including information about hierarchical policy-maps and class maps, see the "Applying
QoS Features Using the MQC" module.
|