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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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 Layer 2 Protocol Tunneling

Configuring Layer 2 Protocol Tunneling

Some Layer 2 protocols running between user networks, such as Multiple Spanning Tree Protocol (MSTP) and Link Aggregation Control Protocol (LACP), must traverse a backbone network to perform Layer 2 protocol calculation. Therefore, Layer 2 protocol tunneling must be configured.

Usage Scenario

To allow Layer 2 PDUs from user networks to be transparently transmitted over a backbone network, configure Layer 2 protocol tunneling. Layer 2 PDUs from the user networks then travel through different Layer 2 tunnels to reach the destinations to perform Layer 2 protocol calculation.

Pre-configuration Tasks

Before configuring Layer 2 protocol tunneling, complete the following tasks:

  • Connect the interfaces properly.
  • Configure the interface type based on whether tagged packets are received.

Configuration Procedures

Figure 6-2 Flowchart for configuring Layer 2 protocol tunneling

Configuring an Edge Device to Replace the Multicast Destination MAC Address

To prevent a backbone network edge device from sending the received Layer 2 protocol data units (PDUs) to its CPU for processing and ensure that the Layer 2 PDUs are tunneled across the backbone network, configure the edge device to replace the multicast destination MAC address in Layer 2 PDUs with a specified multicast MAC address.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run l2protocol-tunnel protocol group-mac group-mac

    An edge device is configured to replace the multicast destination MAC address in Layer 2 PDUs with a specified multicast MAC address. This specified multicast MAC address is also called a group MAC address.

  3. Run commit

    The configuration is committed.

Enabling Layer 2 Protocol Tunneling on an Interface

If you want backbone network devices to transparently transmit Layer 2 PDUs from user networks, enable Layer 2 protocol tunneling on the device interfaces.

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. Run l2protocol-tunnel { all | protocol } enable

    Layer 2 protocol tunneling is enabled on the interface.

    If you do not want PDUs of some Layer 2 protocols to traverse a backbone network, run the l2protocol-tunnel { all | protocol } drop command to enable the interface to discard Layer 2 PDUs. This implementation allows the interface to discard received Layer 2 PDUs.To protect an interface enabled with Layer 2 protocol tunneling against PDU attacks, run the l2protocol-tunnel drop-threshold command to configure a drop threshold for Layer 2 PDUs on the interface. The interface then drops excess Layer 2 PDUs when the number of Layer 2 PDUs received in 1s exceeds the configured drop threshold.

    If each interface of a backbone network device has multiple user networks accessed and the Layer 2 PDUs sent by the user networks carry VLAN tags, to allow these Layer 2 PDUs to be transparently transmitted over the backbone network, run the l2protocol-tunnel { all | protocol } { vlan low-id [ to high-id ] } &<1-10> command to enable Layer 2 protocol tunneling on the tagged interfaces.

    NOTE:
    • The l2protocol-tunnel vlan and l2protocol-tunnel { all | protocol } enable commands with the same Layer 2 protocol specified cannot be run on the same interface. If you run both commands on the same interface, the system prompts a configuration conflict.

  4. Run commit

    The configuration is committed.

Verifying the Configuration of Interface-based Layer 2 Protocol Tunneling

After configuring interface-based Layer 2 protocol tunneling, check Layer 2 protocol tunneling information, such as the tunneled Layer 2 protocol names, protocol types, multicast destination MAC addresses, and specified multicast MAC addresses (group MAC addresses).

Context

Interface-based Layer 2 protocol tunneling has been configured.

Procedure

  • Run the display l2protocol-tunnel group-mac { all | protocol } command to check Layer 2 protocol tunneling information.

    Run the display stp [ brief ] command to check the spanning tree information for tunneled STP, Rapid Spanning Tree Protocol (RSTP), or Multiple Spanning Tree Protocol (MSTP).

Example

Run the display l2protocol-tunnel group-mac command to view Layer 2 protocol tunneling information, such as the tunneled Layer 2 protocol names, protocol types, multicast destination MAC addresses, and specified multicast MAC addresses (group MAC addresses).

<HUAWEI> display l2protocol-tunnel group-mac all
Protocol         Protocol-MAC   Group-MAC       
-----------------------------------------------------------------------------
lldp             0180-c200-000e 0100-0001-0001 
stp              0180-c200-0000 0111-0001-0001 
cdp              0100-0ccc-cccc 0100-0001-0002 
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 16975

Downloads: 35

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