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 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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 a Dot1q Termination Sub-interface to Implement Inter-VLAN Communication

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


When a Layer 3 switch connects to users on different network segments across different VLANs, configure Dot1q termination and IP addresses for the sub-interfaces to implement Layer 3 connectivity.

  • To implement inter-VLAN communication, hosts in each VLAN must use the IP address of the corresponding sub-interface as the default gateway address.

  • When VLAN IDs terminated by a sub-interface are used for Layer 3 forwarding, only the first VLAN takes effect even if multiple inner VLAN IDs are specified.


  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 link type of the interface is set.

  4. Run quit

    Exit from the interface view.

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

    The sub-interface view is displayed.

  6. Run ip address ip-address { mask | mask-length } [ sub ]

    An IP address is assigned to the sub-interface.

  7. Run dot1q termination vid low-pe-vid [ to high-pe-vid ]

    Dot1q termination is configured on the sub-interface.

    Sub-interfaces of different main interfaces can be associated with the same VLAN, but sub-interfaces of the same main interface cannot be associated with the same VLAN.


    When VLAN IDs terminated by a sub-interface are used for Layer 3 forwarding, it is recommended that 128 VLANs be in all VLAN ranges.

  8. Run arp broadcast enable

    ARP broadcast is enabled on the sub-interface.

    When you enable or disable ARP broadcast on a sub-interface, the routing status on the sub-interface alternates between Down and Up. This may result in route flapping on the entire network, and affects normal operation of services.

Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 287022

Downloads: 141

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