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

Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, 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).
Enabling VLAN-based Layer 2 Protocol Transparent Transmission on an Interface

Enabling VLAN-based Layer 2 Protocol Transparent Transmission on an Interface

Context

Perform the following operations on PEs according to the type of Layer 2 protocol packets to be transparently transmitted.

NOTE:

The l2protocol-tunnel vlan and l2protocol-tunnel commands cannot specify the same protocol type on the same interface. Otherwise, the configurations conflict.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The user-side interface view is displayed.

  3. Configure the link type of the interface as trunk or hybrid.

    • Set the link type of the interface to trunk.

      1. Run port link-type trunk

        The link type of the interface is set to trunk.

      2. Run port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } &<1-40> | all }

        The interface is added to a VLAN.

    • Set the link type of the interface to hybrid.

      1. Run port link-type hybrid

        The link type of the interface is set to hybrid.

      2. Run port hybrid tagged vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }

        The interface is added to the specified VLANs in tagged mode.

    NOTE:

    The range of VLAN IDs specified in this step must include VLAN IDs of Layer 2 protocol packets from user networks.

  4. Run l2protocol-tunnel { all | protocol-type | user-defined-protocol protocol-name } vlan { low-id [ to high-id ] } &<1-10>

    VLAN-based Layer 2 protocol transparent transmission is enabled on the interface.

  5. (Optional) Run l2protocol-tunnel drop-threshold

    The drop threshold for Layer 2 protocol packets is configured.

    By default, the drop threshold is 0, meaning that interfaces enabled with Layer 2 protocol tunneling do not limit the volume of received Layer 2 protocol packets.

    Configuring a drop threshold for Layer 2 protocol packets protects interfaces enabled with Layer 2 protocol tunneling against protocol packet attacks. The interfaces drop excess Layer 2 protocol packets when the number of Layer 2 protocol packets received in 1s exceeds the configured drop threshold.

  6. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 127790

Downloads: 296

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