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

S7700 and S9700 V200R012C00

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, 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).
Using a Dot1q Termination Sub-interface to Implement Inter-VLAN Communication

Using a Dot1q Termination Sub-interface to Implement Inter-VLAN Communication

In Figure 8-2, SwitchA is a Layer 3 switch that supports sub-interface configuration and SwitchB is a Layer 2 switch. SwitchA connects to SwitchB through a Layer 3 Ethernet interface. User hosts are assigned to VLAN 2 and VLAN 3, and need to communicate with each other.

Figure 8-2  Using a Dot1q termination sub-interface to implement inter-VLAN communication

Perform the following operations to implement inter-VLAN communication:

  • Create sub-interfaces Port1.1 and Port1.2 on the Ethernet interface connecting SwitchA to SwitchB.

  • Configure Dot1q termination on Port1.1 and Port1.2 to remove VLAN tags in packets sent by SwitchB.

  • Assign IP addresses to Port1.1 and Port1.2.

  • Configure the IP addresses of Port1.1 and Port1.2 as the default gateway addresses for user hosts.

After the preceding operations are performed, user hosts in VLAN 2 and VLAN 3 can communicate at Layer 3. When a host in VLAN 2 sends packets to a host in VLAN 3, the process is as follows:
  1. Port1.1 removes the VLAN tag of the packets sent from VLAN 2 through SwitchB, and forwards the packets to Port1.2 at Layer 3.
  2. Before sending the packets out, Port1.2 adds VLAN 3 to the packets so that the packets can reach user hosts in VLAN 3.
The process is reversed when a host in VLAN 3 sends packets to a host in VLAN 2.
Updated: 2019-01-18

Document ID: EDOC1100038843

Views: 115812

Downloads: 73

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