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).
(Optional) Binding a VLAN to an Eth-Trunk Member Interface

(Optional) Binding a VLAN to an Eth-Trunk Member Interface

Context

A server often has two or more NICs. One NIC is used for server management and service traffic forwarding, other NICs are used for only service traffic forwarding. In Figure 3-17, a switch is connected to a server through the Eth-Trunk that is added to VLAN 10 and VLAN 20. VLAN 10 and VLAN 20 are used for forwarding management packets and service packets, respectively. An independent VLAN needs to be configured on an Eth-Trunk member interface that connected to the management NIC of a server, that is, VLAN 10 needs to be bound to the Eth-Trunk member interface so that the Eth-Trunk member interface can be specially used for server management. This prevents management packets from being discarded when management packets are load balanced on different NICs. In addition, service traffic of VLAN 20 can still be load balanced on all Eth-Trunk member interfaces, improving the bandwidth usage.
Figure 3-17 Connecting a switch to a server

When the Eth-Trunk member interface configured with the independent VLAN is in Unselect state during LACP negotiation, it cannot forward packets. In this situation, you can run the trunk member vlan lacp disable command to configure a flexibly independent VLAN on an Eth-Trunk member interface. When the Eth-Trunk member interface is in Unselect state, the flexibly independent VLAN becomes available. The system automatically disables LACP so that the Eth-Trunk member interface in Unselect state can still forward packets. When the flexibly independent VLAN becomes available, the Eth-Trunk member interface can only forward packets in the local VLAN but cannot process traffic from other VLANs. When the Eth-Trunk member interface enters the Select state, the independent VLAN becomes available and the Eth-Trunk member interface can still process traffic from other VLANs.

NOTE:

The CE6870EI and CE6875EI do not support the independent VLAN and flexibly independent VLAN, and the CE6880EI does not support the flexibly independent VLAN.

NOTE:
  • This function applies to the scenario where a switch connects to a server, and it can only be configured on the member interface connecting to the server's management NIC.
  • In an Eth-Trunk, only one member interface can be bound to a VLAN or VLANs and one member interface can be bound to a maximum of eight VLANs. Member interfaces of multiple Eth-Trunks can be bound to the same VLAN.
  • The switch supports a maximum of 256 bound VLANs. If N Eth-Trunk member interfaces are bound to M VLANs, the maximum value of N multiplied by M is 256.
  • After this command is configured, packets from the bound VLAN can be only forwarded through the bound Eth-Trunk member interface. Non-unicast traffic on the Eth-Trunk can be only forwarded through the bound Eth-Trunk member interface.
  • When an Eth-Trunk member interface is bound to a VLAN or VLANs, VLAN mapping, VLAN stacking, MUX VLAN, or FCoE VLAN cannot be configured.
  • When an Eth-Trunk member interface is bound to a VLAN or VLANs, M-LAG cannot be configured.
  • If Layer 2 sub-interfaces are created on an Eth-Trunk and a member interface is bound to an independent VLAN, the VLAN cannot connect to non-VXLAN tunnels.

Procedure

  • Bind an independent VLAN to an Eth-Trunk member interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The Eth-Trunk member interface view is displayed.

    3. Run trunk member binding vlan vlan-id

      A VLAN is bound to the Eth-Trunk member interface.

      By default, no VLAN is bound to an Eth-Trunk member interface.

      When binding a VLAN to an Eth-Trunk member interface, ensure that the Eth-Trunk interface has been added to the VLAN.

    4. Run commit

      The configuration is committed.

  • Bind a flexibly independent VLAN to an Eth-Trunk member interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface eth-trunk trunk-id

      The Eth-Trunk interface view is displayed.

    3. Run mode { lacp-static | lacp-dynamic }

      The Eth-Trunk is configured to work in LACP mode.

    4. Run quit

      Exit from the Eth-Trunk interface view.

    5. Run interface interface-type interface-number

      The Eth-Trunk member interface view is displayed.

    6. Run trunk member binding vlan vlan-id

      A VLAN is bound to the Eth-Trunk member interface.

      By default, no VLAN is bound to an Eth-Trunk member interface.

      When binding a VLAN to an Eth-Trunk member interface, ensure that the Eth-Trunk interface has been added to the VLAN.

    7. Run trunk member lacp disable

      A flexibly independent VLAN is bound to the Eth-Trunk member interface.

      By default, an Eth-Trunk member interface is not configured with a flexibly independent VLAN.

      After this command is configured, all VLANs bound to the Eth-Trunk member interface become flexibly independent VLANs and the Eth-Trunk member interface can only forward packets from the flexibly independent VLANs.

    8. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 117368

Downloads: 290

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