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

S12700 V200R010C00 Configuration Guide - Ethernet Switching

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

Configuring a Dot1q Termination Sub-interface

Context

When a VPN connects to an ISP network through a sub-interface, the sub-interface needs to remove VLAN tags from the packets that the VPN sends to the ISP network. A Dot1q termination sub-interface can remove single VLAN tags carried by packets sent from CEs to PEs.

Procedure

  1. On the PE device, 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 port link-type is set.

  4. Run:

    quit

    Return to the system view.

  5. Run:

    interface interface-type interface-number.subinterface-number

    The view of the sub-interface connecting the PE to the CE is displayed.

    NOTE:

    If the PW-side interface is a Layer 3 interface switched by the undo portswitch command, the AC-side interface cannot be a Layer 3 interface or subinterface belonging to a Layer 3 interface; otherwise, traffic forwarding is abnormal.

  6. Run:

    dot1q termination vid low-pe-vid [ to high-pe-vid ]

    Dot1q termination is configured on the sub-interface.

    After a VLANIF interface is configured, the corresponding VLAN cannot be configured as a VLAN for Dot1q termination sub-interfaces or an outer VLAN for QinQ termination sub-interfaces.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 275368

Downloads: 421

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