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

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

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).
Understanding VLAN Mapping

Understanding VLAN Mapping

Basic Principles

After receiving a tagged packet, the router determines to replace the outer tag based on the VLAN mapping mode. Then the router learns the MAC addresses contained in the packet. Based on the source MAC address and mapped VLAN ID, the switch updates the MAC address entries in the VLAN mapping table. Based on the destination MAC address and the mapped VLAN ID, the switch searches for the MAC address entries. If the destination MAC address matches no entry, the switch broadcasts the packet in the specified VLAN; if the destination MAC address matches an entry, the switch forwards the packet through the corresponding outbound interface.

As shown in Figure 9-1, VLAN mapping between VLAN 2 and VLAN 3 is configured on Interface1. Before sending packets from VLAN 2 to VLAN 3, Interface1 replaces the VLAN tags with VLAN 3 tags. When receiving packets from VLAN 3, Interface1 replaces the VLAN tags with VLAN 2 tags. Then packets are forwarded according to the Layer 2 forwarding process. This implements communication between devices in VLAN 2 and VLAN 3.

Figure 9-1  VLAN mapping

Implementation Modes

The device supports VLAN ID-based and 802.1p priority-based VLAN mapping.
  • VLAN ID-based VLAN mapping

    When an interface configured with VLAN mapping receives a single-tagged packet, the interface maps the VLAN tag in the packet to a new VLAN tag.

    When an interface configured with VLAN mapping receives a double-tagged packet, the interface maps the outer tag of the packet to a specified tag and transparently transmits the inner tag as the data.

  • 802.1p priority-based VLAN mapping

    When an interface configured with VLAN mapping receives a single-tagged packet, the interface replaces the 802.1p priority in the packet with a new 802.1p priority.

    When an interface configured with VLAN mapping receives a double-tagged packet, the interface replaces the 802.1p priority in the outer tag of the packet with a new 802.1p priority.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 62187

Downloads: 49

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