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.


AR500, AR510, and AR530 V200R007 CLI-based Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring transparent bridge, MAC table, link aggregation, VLANs, STP/RSTP/MSTP, and so on.The document provides the configuration procedures and configuration examples to illustrate the service configuration methods and application scenario.
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

As shown in Figure 5-2, the router connects to the switch through a Layer 3 Ethernet interface. User hosts are assigned to VLAN 2 and VLAN 3, and need to communicate with each other.

Figure 5-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 Router to Switch.

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

  • 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 Switch, 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-05-25

Document ID: EDOC1000097279

Views: 20966

Downloads: 64

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