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 - VPN

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of VPN, including GRE, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, and VPLS.
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 Priority Mapping on a Tunnel

Configuring Priority Mapping on a Tunnel


On a tunnel, to ensure priorities of different services, configure a DiffServ mode so that packets in different queues are scheduled based on class of service (CoS) values.
The DiffServ modes supported on a tunnel include:
  • Uniform mode: The enterprise campus network transmits voice, video, and data services. When different service flows of enterprise users enter a tunnel, devices on the campus network must assign priorities in descending order to the voice, video, and data services to provide differentiated services.

  • Pipe mode: You can set the DiffServ mode to the pipe mode when you want all packets that enter the tunnel to use the same IP differentiated services code point (DSCP) priority. For example, the pipe mode can be used in a mirroring scenario to ensure that mirrored traffic can be sent to the monitoring device in real time.


  • Configuring the uniform mode

    Priority mapping on a tunnel in uniform mode is similar to priority mapping for IP packets. For the detailed configuration, see Priority Mapping Configuration (CE12800).

  • Configuring the pipe mode
    1. Run system-view

      The system view is displayed.

    2. Run interface tunnel interface-number

      The tunnel interface view is displayed.

    3. Run tunnel pipe dscp dscp-value

      The DiffServ mode on a tunnel interface is set to pipe and a DSCP priority is set.

      By default, the DiffServ mode on a tunnel interface is uniform.

      • The DSCP priority set using this command takes effect only on the tunnel ingress. The tunnel egress maps the DSCP priority to a per-hop behavior (PHB) based on the default mapping. For details on the default mapping between DSCP priorities and PHBs, see ip-dscp-inbound.

      • If both the qos phb marking dscp enable and tunnel pipe dscp commands are configured, the device processes packets entering the tunnel as follows:
        1. Sets the priority of the packets to the IP DSCP value (dscp-value1) configured by the tunnel pipe dscp command.
        2. Maps this priority to the DSCP value (dscp-value2) configured by the ip-dscp-outbound command used in the DiffServ domain applied to the tunnel outbound interface. That is, the DSCP priority of GRE-encapsulated packets is dscp-value2.

    4. Run commit

      The configuration is committed.

Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 13983

Downloads: 25

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