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 Basic QinQ

Configuring Basic QinQ

Basic QinQ enables the device to add a public tag to incoming packets so that user packets can be forwarded on the public network.

Background

To separate private networks from public networks and conserve VLAN resources, configure double 802.1Q tags on QinQ interfaces of the device. Private VLAN tags are used on private networks such as enterprise networks, and public VLAN tags are used on external networks such as ISP networks. QinQ expands VLAN space to 4094x4094 and allows packets on different private networks with the same VLAN IDs to be transparently transmitted.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    A VLAN used on the public network is created.

  3. Run:

    quit

    Exit from the VLAN view.

  4. Run:

    interface interface-type interface-number

    The interface view is displayed.

    The interface can be a physical interface or an Eth-Trunk interface.

  5. Run:

    port link-type dot1q-tunnel

    The link type of the interface is set to Dot1q-tunnel.

    By default, the LNP negotiation mode of an interface is negotiation-desirable.

    Dot1q-tunnel interfaces do not support Layer 2 multicast.

  6. Run:

    port default vlan vlan-id

    The VLAN ID of the public VLAN tag, that is, the default VLAN of the interface, is configured.

    By default, VLAN 1 is the default VLAN of all interfaces.

Checking the Configuration

  • Run the display current-configuration interface interface-type interface-number command to check the QinQ configuration on the interface.
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 255937

Downloads: 408

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