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 - Ethernet Switching

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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 1-to-1 QinQ Mapping

Configuring 1-to-1 QinQ Mapping

Context

1-to-1 QinQ mapping is configured on a sub-interface to map a VLAN tag in a received single-tagged packet to a specified VLAN tag.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run port link-type { hybrid | trunk }

    The port link-type is set.

  4. Run quit

    The system view is displayed.

  5. Run interface interface-type interface-number.subinterface-number

    The view of the CE-side Ethernet or Eth-Trunk sub-interface of the PE is displayed.

  6. Run qinq mapping vid vlan-id1 [ to vlan-id2 ] map-vlan vid vlan-id3

    The sub-interface is configured to map a VLAN tag of received packets to a specified VLAN tag.

    The original VLAN ID of single-tagged packets specified in the command must be different from the outer VLAN IDs specified on all the other sub-interfaces.

    NOTE:
    • QinQ mapping cannot be used with stacking, QinQ termination, or Dot1q termination commands on the same sub-interface.

    • If the PW-side routing interface is a Layer 3 interface switched by the undo portswitch command, the AC-side interface cannot be a Layer 3 routing interface or its sub-interface belonging to a Layer 3 interface; otherwise, traffic fails to be forwarded. This rule applies to S5720EI, S6720EI, and S6720S-EI.

Translation
Download
Updated: 2018-12-24

Document ID: EDOC1100038339

Views: 167849

Downloads: 699

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