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.


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).
Applying the Traffic Policy to an Interface

Applying the Traffic Policy to an Interface


You can apply a traffic policy to an interface or a sub-interface to implement fine-grained QoS.


Traffic policy nesting can only be configured on layer 2 VE interfaces, physical WAN-side interfaces or sub-interfaces.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number[.subinterface-number]

    The interface or sub-interface view is displayed.

  3. Run traffic-policy policy-name { inbound | outbound }

    The traffic policy is applied to an interface or a sub-interface.

    • If traffic policy nesting is configured on a sub-interface, traffic shaping, congestion management, or congestion avoidance cannot be configured on the main interface.

    • If traffic shaping, congestion management, or congestion avoidance is configured in both the traffic policy and the sub traffic policy, traffic policy nesting and traffic shaping cannot be simultaneously configured on the sub-interface.

    • When traffic policy nesting is applied to a sub-interface, the traffic policy that is bound to sub traffic policies can be bound to only one pair of the traffic classifier and traffic behavior and only the default traffic classifier default-class can be used.

Updated: 2019-05-17

Document ID: EDOC1000174115

Views: 41783

Downloads: 30

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