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


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


NE40E V800R010C10SPC500 Configuration Guide - QoS 01

This is NE40E V800R010C10SPC500 Configuration Guide - QoS

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).
Defining a Traffic Classifier

Defining a Traffic Classifier

To classify traffic, you can configure traffic classifiers based on ACL rules, packet priorities, protocol types, and addresses.


  1. Run system-view

    The system view is displayed.

  2. Run traffic classifier classifier-name [ operator { and | or } ]

    A traffic classifier is defined and the traffic classifier view is displayed.

  3. Define matching rules for the traffic classifier as required.

    • To define a matching rule based on an ACL, run the if-match acl { acl-number | name acl-name } command.


      If the rule [ rule-id ] { deny | permit } { protocol | udp } vxlan vni vni and rule [ rule-id ] { deny | permit } protocol [ packet-length length-operation length-value ] commands are configured for an advanced ACL, the rules that can be configured will be reduced.

    • To define a matching rule based on the DSCP value, run the if-match dscp dscp-value command.

    • To define a matching rule based on the IP precedence, run the if-match [ ipv6 ] ip-precedence ip-precedence command.

    • To define a matching rule to match all packets, run the if-match any command.


    ACL rules can be defined based on different parameters, such as the protocol type, source address, destination address, and the precedence field in packets. Packets are matched against rules configured using the rule command in the if-match acl configuration, and traffic behaviors are performed for the matching packets.

    If you define multiple matching rules in one traffic classifier, you can set the logical relationship between the matching rules by specifying the parameter operator in Step 2.

    • and: A packet belongs to the classifier only when it matches all the rules.
    • or: A packet belongs to the classifier if it matches any one of the rules.

Updated: 2019-01-03

Document ID: EDOC1100055024

Views: 30771

Downloads: 146

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next