Overview of MQC
Modular QoS Command-Line Interface (MQC) allows you to classify packets based on packet characteristics and specify the same service for packets of the same type. This allows different types of packets to be provided with differentiated services.
As more services are deployed on a network, service deployment becomes increasingly complex because traffic of different services or users requires different services. Using MQC configuration, you can classify network traffic in a fine-grained way and specify the services provided to different types of traffic according to your needs. MQC enhances serviceability of your network.
MQC Entities
MQC involves three entities: traffic classifier, traffic behavior, and traffic policy.
Traffic classifier
A traffic classifier defines a group of matching rules to classify packets.
The relationship between rules in a traffic classifier can be AND or OR. The default relationship is OR.AND: If a traffic classifier contains ACL rules, a packet matches the traffic classifier only if it matches one ACL rule and all the non-ACL rules. If a traffic classifier does not contain ACL rules, a packet matches the traffic classifier only if it matches all the rules in the classifier.
OR: A packet matches a traffic classifier if it matches one of the rules.
Traffic behavior
A traffic behavior defines an action for packets of a specified type.
Traffic policy
A traffic policy binds traffic classifiers and traffic behaviors, and then actions defined in traffic behaviors are taken for classified packets. In Figure 2-1, multiple traffic classifiers and traffic behaviors can be bound to one traffic policy.
MQC Configuration Process
Configure a traffic classifier. The traffic classifier defines a group of matching rules to classify traffic and is the basis for differentiated services.
Configure a traffic behavior. The traffic behavior defines a flow control action for packets matching the rules.
Create a traffic policy and bind the traffic classifier to the traffic behavior in the traffic policy.
Apply the traffic policy in the corresponding view.