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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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 Sub-interface for QinQ VLAN Tag Termination to Support 802.1p Mapping

Configuring a Sub-interface for QinQ VLAN Tag Termination to Support 802.1p Mapping

After tags are terminated on the PEs, packets are sent to the carrier IP or MPLS network. To ensure inclusion of all the required Quality of Service (QoS) information in the packets, the 802.1p values in outer and inner tags must be mapped to the DSCP fields or the EXP fields.

Applicable Environment

  • QinQ VLAN tag termination can be used to implement the 802.1p and DSCP remark

    Relevant standards specifies that the six bits of the Type of Service (ToS) field in an IPv4 packet header serve as the DiffServ Code Point (DSCP). DSCP provides a reference for differentiated services (DiffServ) and is used for QoS guarantee on the IP network.

    With QinQ VLAN tag termination, a tagged packet is terminated on the PE before it is sent to the carrier IP network. In this scenario, you need to configure the mapping relationship between the 802.1p values in outer and inner tags and the DSCP field to ensure that all the required QoS information is included in the packet.

  • QinQ VLAN tag termination can be used to implement the 802.1p and EXP remark

    The EXP field in an MPLS packet is used for Class of Service (CoS) to implement traffic control on the gateway.

    With QinQ VLAN tag termination, a tagged packet is terminated on the PE before it is sent to the carrier MPLS network. In this scenario, you need to configure the mapping relationship between the 802.1p values in outer and inner tags and the EXP field to ensure that all the required QoS information is included in the packet.

Pre-configuration Task

Before you configure the sub-interface for QinQ VLAN tag termination to support 802.1p mapping, plan user VLANs so that packets received by VLAN tag termination sub-interfaces carry one or two VLAN tags.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subinterface-number

    The view of an Ethernet sub-interface at the user-side of a PE is displayed.

  3. Run encapsulation qinq-termination [ local-switch | rt-protocol ]

    The encapsulation type for the sub-interface is configured to QinQ termination.

    • Specify local-switch so that the sub-interface for QinQ VLAN tag termination supports local switching.

    • Specify rt-protocol so that the sub-interface for QinQ VLAN tag termination supports routing protocols.

  4. Run qinq termination pe-vid pe-vid [ to high-pe-vid ] ce-vid ce-vid [ to high-ce-vid ]

    The VLAN tag termination function is configured for the sub-interface for QinQ VLAN tag termination.

    After you specify rt-protocol, the sub-interface terminates double-tagged packets, and both inner and outer tags must be specific VLAN IDs.

  5. Run qinq 8021p-mode { trust { ce-vid-8021p | pe-vid-8021p } | precedence-value }

    802.1p mapping is configured.

Checking the Configuration

After a sub-interface for QinQ VLAN tag termination is configured to support 802.1p mapping, run the display qinq information termination [ interface interface-type interface-number [ .subinterface-number ] ] command on the PE. The command output shows the detailed configurations on the sub-interface for QinQ VLAN tag termination. For example:

<HUAWEI> display qinq information termination interface gigabitethernet 0/1/1.1
  GigabitEthernet 0/1/1.1
    qinq 8021p-mode trust ce-vid-8021p
    Total QinQ Num: 2
      qinq termination pe-vid 10 ce-vid 10
      qinq termination pe-vid 20 to 30 ce-vid 40 to 50 vlan-group 2
    Total vlan-group Num: 1
      vlan-group 2
    encapsulation qinq-termination
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 16852

Downloads: 35

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