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

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

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

Applying the DiffServ Domain

Context

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.

Procedure

  • 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.

  • Apply a DiffServ domain to a Layer 2 sub-interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.subnum mode l2

      The Layer 2 sub-interface view is displayed.

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

      A DiffServ domain is applied to the Layer 2 sub-interface.

      By default, the DiffServ domain default is applied to the Layer 2 sub-interface.

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

      NOTE:

      When a Layer 2 sub-interface uses QinQ encapsulation, only the DiffServ domain default is supported.

    4. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-05

Document ID: EDOC1100004202

Views: 21107

Downloads: 24

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