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.


Configuration Guide - QoS

CloudEngine 12800 and 12800E V200R003C00

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, and ACL-based simplified traffic policy.
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 a DiffServ Domain

Configuring a DiffServ Domain


When the device is located at the edge of a DiffServ domain of another network, configure mappings between internal priorities and external priorities:

  • When traffic arrives at the device, the device maps packet priorities to PHBs and colors. The device then performs congestion management based on PHBs and performs congestion avoidance based on colors.
  • When sending traffic out, the device maps PHBs and colors of packets to priorities. The downstream device then provides QoS services based on packet priorities.


  1. Run system-view

    The system view is displayed.

  2. Run diffserv domain ds-domain-name

    A DiffServ domain is created and the DiffServ domain view is displayed.

    The domain default defines default mappings between packet priorities and PHBs/colors. You can modify the mappings defined in the domain default but cannot delete this domain. In addition to the domain default, you can create a maximum of six DiffServ domains.


    A DiffServ domain can only be created in the Admin-VS in port mode.

  3. Run the following commands as required.



    Map 802.1p priorities of incoming VLAN packets to PHBs and color the packets.

    8021p-inbound 8021p-value phb service-class [ green | yellow | red ]

    Map PHBs and colors of outgoing VLAN packets to 802.1p priorities.

    8021p-outbound service-class { green | yellow | red } map 8021p-value

    Map DSCP priorities of incoming IP packets to PHBs and color the packets.

    ip-dscp-inbound dscp-value phb service-class [ green | yellow | red ]

    Map PHBs and colors of outgoing IP packets to DSCP priorities.

    ip-dscp-outbound service-class { green | yellow | red } map dscp-value

    Map DSCP priorities in IP packets in the inbound direction to internal DSCP priorities.

    ip-dscp-inbound dscp-value map in-dscp in-dscp-value

    Map internal DSCP priorities to DSCP priorities in IP packets in the outbound direction.

    ip-dscp-outbound in-dscp in-dscp-value { green | yellow | red } map dscp-value

    Map EXP priorities of incoming MPLS packets to PHBs.

    mpls-exp-inbound exp-value phb service-class

    Map DSCP priorities of outgoing MPLS packets to EXP priorities.

    mpls-exp-outbound dscp-value map exp-value

    Map PHBs and colors of outgoing VPLS packets to EXP priorities.

    exp-outbound service-class color map exp-value

    Map EXP priorities of incoming VPLS packets to PHBs and color the packets.

    exp-inbound exp-value phb service-class color

    For details about the default mappings, see Default Settings for Priority Mapping.

  4. Run commit

    The configuration is committed.

Updated: 2019-05-05

Document ID: EDOC1100004202

Views: 31533

Downloads: 26

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