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

CLI-based Configuration Guide - QoS

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009

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).
Overview of MQC

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. In this way, different types of packets can be provided 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. Table 1-1 lists traffic classification rules.
    Table 1-1  Traffic classification rules
    Layer Traffic Classification Rule
    Layer 2
    • Destination MAC address
    • Source MAC address
    • VLAN ID in the tag of VLAN-tagged packets
    • 802.1p priority in the tag of VLAN-tagged packets
    • VLAN ID in the inner tag of VLAN packets
    • 802.1p priority in the inner tag of QinQ packets
    • Protocol field in the Layer 2 header
    • EXP precedence in Multiprotocol Label Switching (MPLS) packets (AR1200-S, AR2200-S and AR3200-S)
    • Discard Eligible (DE) value in Frame Relay (FR) packets
    • Data Link Connection Identifier (DLCI) in Frame Relay (FR) packets
    • Permanent virtual circuit (PVC) information in ATM packets
    • Matching fields in access control list (ACL) 4000 to ACL 4999
    Layer 3
    • Differentiated Services Code Point (DSCP) priority in IP packets
    • IP precedence in IP packets
    • IP protocol type (IPv4 or IPv6)
    • RTP port number
    • TCP-flag in TCP packets
    • IPv4 packet length
    • QoS group in an IPSec policy
    • Matching fields in ACL 2000 to ACL 3999
    • Matching fields in ACL6 2000 to ACL6 3999
    Others
    • All packets
    • Inbound interface
    • Outbound interface
    • SAC
    • User group
    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 when 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 when it matches all the rules in the classifier.

    • OR: A packet matches a traffic classifier as long as it matches one of 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. As shown in Figure 1-1, a traffic policy can be bound to multiple traffic classifiers and traffic behaviors.
    Figure 1-1  Multiple pairs of traffic classifiers and traffic behaviors in a traffic policy

MQC Configuration Process

Figure 1-2 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 differentiated services.

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

  3. Create a traffic policy and bind the traffic classifier to the traffic behavior in the traffic policy.

  4. Apply the traffic policy to an interface or sub-interface.

Figure 1-2  MQC configuration process
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174115

Views: 40292

Downloads: 28

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