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.


S12700 V200R013C00 Configuration Guide - QoS

This document describes the configurations of QoS functions, including MQC, priority mapping, traffic policing, traffic shaping, interface-based rate limiting, congestion avoidance, congestion management, packet filtering, redirection, traffic statistics, ACL-based simplified traffic policy, and HQoS.
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).
Configuring Hierarchical Traffic Policing

Configuring Hierarchical Traffic Policing


The device supports hierarchical traffic policing. After the system uses MQC to implement traffic policing (level-1 CAR) for service flows matching a traffic classifier in a traffic policy, the system aggregates all the service flows matching the traffic classifiers associated with the level-1 CAR in the same traffic policy and performs traffic policing (level-2 CAR) for the aggregated flow. Hierarchical traffic policing implements statistical multiplexing of traffic and fine-grained service control. For details about level-1 CAR, see Configuring MQC to Implement Traffic Policing.


  1. Run system-view

    The system view is displayed.

  2. Run qos car car-name cir cir-value [ cbs cbs-value [ pbs pbs-value ] | pir pir-value [ cbs cbs-value pbs pbs-value ] ]

    A QoS CAR profile is created and CAR parameters are configured.

  3. Run traffic behavior behavior-name

    The traffic behavior view is displayed.

  4. Run car car-name share

    The aggregated CAR action is configured.

    • SA series cards do not support aggregated CAR.

    • The traffic policy defining the aggregated CAR action can only be used in the inbound direction.

    • After aggregated CAR is configured, all the rules in the traffic classifiers bound to the same traffic behavior share the CAR index. The system aggregates all the flows matching these traffic classifiers and uses CAR to limit the rate of the flows. If the traffic classifiers define both Layer 2 and Layer 3 information, the aggregated CAR configuration is invalid.

Verifying the Configuration

  • Run the display traffic classifier user-defined [ classifier-name ] command to check the traffic classifier configuration.
  • Run the display traffic behavior user-defined [ behavior-name ] command to check the traffic behavior configuration.
  • Run the display traffic policy user-defined [ policy-name [ classifier classifier-name ] ] command to check the configuration of a specified user-defined traffic policy.

  • Run the display traffic-applied [ interface [ interface-type interface-number ] | vlan [ vlan-id ] ] { inbound | outbound } [ verbose ] command to check information about ACL-based simplified and MQC-based traffic policies applied to the system, a VLAN, or an interface.


    The display traffic-applied command cannot be used to check information about ACL-based simplified and MQC-based traffic policies applied to a sub-interface. However, traffic policies can be applied to a sub-interface.

  • Run the display traffic policy { interface [ interface-type interface-number [.subinterface-number ] ] | vlan [ vlan-id ] | ssid-profile [ ssid-profile-name ] | global } [ inbound | outbound ] command to check the traffic policy configuration.

  • Run the display traffic-policy applied-record [ policy-name ] command to check the application records of a specified traffic policy.

Updated: 2019-04-08

Document ID: EDOC1100065653

Views: 18890

Downloads: 45

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