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.


S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Ethernet Switching

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, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, 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:1 VLAN Mapping

Configuring 1:1 VLAN Mapping


When receiving a tagged packet, an interface maps the VLAN ID in the packet to an S-VLAN ID.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run port vlan-mapping vlan vlan-id1 [ to vlan-id2 ] map-vlan vlan-id3 [ remark-8021p 8021p-value ]

    Single-tagged VLAN mapping is configured on the interface.

    • When N:1 VLAN mapping is configured (VLAN IDs can be non-contiguous before mapping), the interface needs to be added to these VLANs in tagged mode, and the VLAN specified by map-vlan cannot be a VLAN corresponding to a VLANIF interface.

    • N:1 VLAN mapping takes effect only when the packets with original VLANs are sent first.

    • LE1D2S04SEC0, LE1D2X32SEC0, and LE1D2H02QEC0 cards, and X series cards, and SA boards of S series cards do not support N:1 VLAN mapping.

    • N:1 VLAN mapping is not supported on the Eth-Trunk interface.

Updated: 2019-01-18

Document ID: EDOC1100038290

Views: 110785

Downloads: 24

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