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) Configuring the Dual-Active Gateway

(Optional) Configuring the Dual-Active Gateway

Prerequisites

The M-LAG member interface has been added to the corresponding VLAN, or the Layer 2 sub-interface of the Eth-Trunk to which the M-LAG member interface belongs has been added to the corresponding BD.

Context

On a dual-homing IP or VXLAN network, both the M-LAG master and backup devices need to function as Layer 3 gateways. In this case, VLANIF/VBDIF interfaces corresponding to M-LAG member interfaces must have the same IP address and MAC address. You can use the following methods:
  • (Recommended) Configure the same IP address and run the mac-address command to configure the same virtual MAC address for the VLANIF/VBDIF interfaces.
  • Create a VRRP group on VLANIF/VBDIF interfaces and configure the same virtual IP address and virtual MAC address for VLANIF/VBDIF interfaces corresponding to M-LAG member interfaces of M-LAG master and backup devices. M-LAG and VRRP are configured to implement dual-active gateway.

Procedure

  • (Recommended) Configure an IP address and a MAC address for a VLANIF/VBDIF interface to implement dual-active gateway.
    1. Run system-view

      The system view is displayed.

    2. Run interface { vlanif vlan-id | vbdif bd-id }

      The VLANIF or VBDIF interface view is displayed.

    3. Configure an IP address for the interface:

      • On IPv4 networks, perform the following operations:
        ip address ip-address { mask | mask-length } [ sub ]

        An IPv4 address is configured for the VLANIF/VBDIF interface.

      • On IPv6 networks, perform the following operations:
        1. Run ipv6 enable

          IPv6 is enabled for the VLANIF/VBDIF interface.

        2. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } Oripv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } eui-64

          A global unicast address is configured for the VLANIF/VBDIF interface.

      An IP address is assigned to the VLANIF/VBDIF interface.

      By default, no IP address is configured for an interface.

      VLANIF/VBDIF interfaces corresponding to M-LAG member interfaces of M-LAG master and backup devices must be configured with the same IP address.

    4. Run mac-address (VLANIF interface view) mac-address or mac-address (VBDIF interface view) mac-address

      A virtual MAC address is configured for the VLANIF/VBDIF interface.

      By default, the MAC address of a VLANIF/VBDIF interface must be the same as the system MAC address.

      VLANIF/VBDIF interfaces corresponding to M-LAG member interfaces of M-LAG master and backup devices must be configured with the same virtual MAC address.

      NOTE:
      • On the CE6870EI and CE6875EI, 16 virtual MAC addresses in the range from 0000-5e00-0100 to 0000-5e00-01ff are supported.

      • On the CE6880EI, eight virtual MAC addresses in the range from 0000-5e00-0100 to 0000-5e00-02ff.

      • Other devices support a maximum of 500 MAC addresses, including any unicast MAC addresses and virtual MAC addresses in the range from 0000-5e00-0100 to 0000-5e00-01ff.

    5. (Optional) Run protocol up-delay-time time-value

      The delay before the Layer 3 protocol status of an interface can go Up is set.

      By default, the delay before the Layer 3 protocol status of a VLANIF interface can go Up is 1s. When there are many ARP entries, the delay is increased.

      When the faulty device or peer-link recovers, many ARP entries need to be synchronized in a batch. You can configure the delay so that the protocol status of the interface goes Up after ARP entries are synchronized. This prevents protocol packets from being discarded, reduces the packet loss during link recovery, and improves convergence performance.

    6. Run commit

      The configuration is committed.

  • Configure VRRP to implement dual-active gateway.
    1. Run system-view

      The system view is displayed.

    2. Run interface { vlanif vlan-id | vbdif bd-id }

      The VLANIF or VBDIF interface view is displayed.

    3. Run vrrp vrid virtual-router-id virtual-ip virtual-address
    4. Configure an IP address for the interface:

      • On IPv4 networks, perform the following operations:

        Run ip address ip-address { mask | mask-length } [ sub ]

        An IPv4 address is configured for the VLANIF/VBDIF interface.

      • On IPv6 networks, perform the following operations:
        1. Run ipv6 enable

          IPv6 is enabled for the VLANIF/VBDIF interface.

        2. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } Oripv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } eui-64

          A global unicast address is configured for the VLANIF/VBDIF interface.

      By default, no IP address is configured for an interface.

      You must configure IP addresses on the same network segment for VLANIF interfaces corresponding to M-LAG member interfaces of M-LAG master and backup devices.

    5. Configure a VRRP group and virtual IP address:

      • On IPv4 networks, perform the following operations:

        Run vrrp vrid virtual-router-id virtual-ip virtual-address

        A VRRP group is created and a virtual IP address is assigned to the VRRP group.

        By default, no VRRP group is created.

        The M-LAG master and backup devices must be configured with the same VRID and virtual IP address of the VRRP group, and the virtual IP address of the VRRP group and IP address of the VLANIF/VBDIF interface must be on the same network segment.

      • On IPv6 networks, perform the following operations:
        1. Run ipv6 enable

          IPv6 is enabled for the VLANIF/VBDIF interface.

        2. Run vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6–address link-local

          A VRRP6 group is created and a virtual IPv6 address is assigned to the VRRP6 group.

          By default, no VRRP6 group is created.

          The first virtual IPv6 address of a VRRP6 group must be a link-local address.

          The M-LAG master and backup devices must be configured with the same VRID and virtual IPv6 address of the VRRP6 group, and the virtual IPv6 address of the VRRP6 group and IPv6 address of the VLANIF/VBDIF interface must be on the same network segment.

    6. (Optional) When the switch connects to a Network Attached Storage (NAS) device or load balancer, run: mac-address(VLANIF interface view) mac-address or mac-address(VBDIF interface view) mac-address

      The virtual MAC address of the VLANIF/VBDIF interface is configured.

      By default, the MAC address of a VLANIF/VBDIF interface must be the same as the system MAC address.

      In M-LAG scenarios, when the switch connects to the Network Attached Storage (NAS) device or a load balancer, the NAS device or load balancer (for example, F5 load balancer enabled with Auto Last Hop) does not send an ARP request message to learn the gateway's MAC address. Instead, the NAS device or load balancer analyzes data flows from the gateway and uses the source MAC address in data flows received first as the gateway's MAC address. In this case, the same MAC address needs to be configured onVLANIF/VBDIF interfaces of the two switches that constitute an M-LAG; otherwise, the NAS device or load balancer may fail to forward traffic due to the unidirectional isolation mechanism between the peer-link and M-LAG member interface.

      NOTE:
      • When the CE6870EI and CE6875EI connect to the NAS device or load balancer, this step is not required.
      • On the CE6880EI, eight virtual MAC addresses in the range from 0000-5e00-0100 to 0000-5e00-02ff.

      • Other devices support a maximum of 500 MAC addresses, including any unicast MAC addresses and virtual MAC addresses in the range from 0000-5e00-0100 to 0000-5e00-01ff.

    7. (Optional) Run protocol up-delay-time time-value

      The delay before the Layer 3 protocol status of an interface can go Up is set.

      By default, the delay before the Layer 3 protocol status of a VLANIF interface can go Up is 1s. When there are many ARP entries, the delay is increased.

      When the faulty device or peer-link recovers, many ARP entries need to be synchronized in a batch. You can configure the delay so that the protocol status of the interface goes Up after ARP entries are synchronized. This prevents protocol packets from being discarded, reduces the packet loss during link recovery, and improves convergence performance.

    8. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 117643

Downloads: 290

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