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 V200R002C50

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 seven 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 on an interface to PHBs and color the packets.

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

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

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

    Map DSCP priorities of incoming IP packets on an interface 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 on an interface to DSCP priorities.

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

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

  4. Run commit

    The configuration is committed.

Updated: 2019-03-21

Document ID: EDOC1000166605

Views: 65814

Downloads: 84

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next