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).
Applying the DiffServ Domain

Applying the DiffServ Domain


You can bind a DiffServ domain to an inbound or outbound interface of packets to enable the device to implement mapping between packet priorities and PHBs/colors according to the mappings defined in the DiffServ domain.


  • Apply a DiffServ domain to an Ethernet interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. (Optional) Run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Before switching the interface to Layer 3 mode, ensure that the interface has no Layer 2 configuration. Otherwise, the command cannot be executed.

    4. Run trust upstream { ds-domain-name | none }

      A DiffServ domain is bound to the interface.

      By default, the DiffServ domain default is applied to the interface.

      If trust upstream none is configured on an interface, the system does not perform priority mapping for incoming packets.

    5. (Optional) Run qos phb marking dscp enable

      PHB-to-DSCP mapping is enabled for outgoing packets.

      By default, PHB-to-DSCP mapping is not enabled for outgoing packets.

    6. (Optional) Run qos phb marking 8021p disable

      PHB-to-802.1p mapping is disabled for outgoing packets.

      By default, PHB-to-802.1p mapping is enabled for outgoing packets.

    7. Run commit

      The configuration is committed.

Updated: 2019-03-21

Document ID: EDOC1000166605

Views: 65546

Downloads: 84

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next