No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Introduction to MQC

Introduction to MQC

Modular QoS Command-Line Interface (MQC) allows the device to classify different traffic types so that the device can provide differentiated services based on the packet type.

Network deployment becomes complex to implement differentiated services for different types of traffic (different services or users) during network planning. MQC allows the device to implement fine-grained processing and provide differentiated services.

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. Table 13-1 lists traffic classification rules.
    Table 13-1 Traffic classification rules

    Layer

    Traffic Classification Rules

    Layer 2

    • Destination MAC address
    • Source MAC address
    • VLAN ID in the tag of a VLAN packet
    • 802.1p priority in the tag of a VLAN packet
    • VLAN ID in the inner tag of a QinQ packet
    • 802.1p priority in the inner tag of a QinQ packet
    • Protocol field encapsulated based on Layer 2 information
    • Double tags in QinQ packets
    • Matching fields in ACL 4000 to ACL 4999

    Layer 3

    • DSCP priority in IP packets
    • IP precedence in IP packets
    • TCP-flag in TCP packets
    • Matching fields in ACL 2000 to ACL 3999
    • Matching fields in ACL6 2000 to ACL6 3999

    Others

    • All packets
    • All discarded packets
    • Outbound interface
    • Matching fields in ACL 5000 to ACL 5999 (user-defined ACLs)
    The relationship between rules in a traffic classifier can be AND or OR. By default, the relationship between rules in a traffic classifier is OR.
    • AND: If a traffic classifier contains ACL rules, packets match the traffic classifier only when the packets match one ACL rule and all the non-ACL rules. If a traffic classifier does not contain ACL rules, packets match the traffic classifier only when the packets match all the non-ACL rules.

    • OR: Packets match a traffic classifier as long as they match one of rules.

  • Traffic behavior

    A traffic behavior defines an action for packets of a specified type.

  • Traffic policy

    A traffic policy is a QoS policy configured by binding traffic classifiers to traffic behaviors. As shown in Figure 13-3, a traffic policy can be bound to multiple pairs of traffic classifiers and traffic behaviors.
    Figure 13-3 Binding a traffic policy to multiple pairs of traffic classifiers and traffic behaviors

MQC Configuration Process

Figure 13-4 outlines the MQC configuration process.
  1. Configure a traffic classifier. The traffic classifier defines a group of matching rules to classify traffic and is the basis for providing differentiated services.

  2. Configure a traffic behavior. The traffic behavior defines a flow control or resource allocation action for packets matching rules.

  3. Configure a traffic policy. A traffic policy is configured by binding traffic classifiers to traffic behaviors.

  4. Apply the traffic policy to an object (system, interface, or VLAN)

    .

Figure 13-4 MQC configuration process
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 57515

Downloads: 3619

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next