< Home

(Optional) Configuring ARP Broadcast Suppression

Context

After you enable ARP broadcast suppression on a Layer 2 VXLAN gateway, configure Border Gateway Protocol Ethernet Virtual Private Network (BGP EVPN) on Layer 2 and Layer 3 VXLAN gateways to allow ARP broadcast suppression to take effect. BGP EVPN can then generate host information based on learned ARP entries and advertise the host information to Layer 2 VXLAN gateways. After the Layer 2 VXLAN gateways receive ARP broadcast packets, they convert the ARP broadcast packets into unicast packets based on the learned host information before forwarding the packets out. This decreases the number of broadcast packets in a BD, improving network performance.

Procedure

  1. Configure BGP EVPN on Layer 2 and Layer 3 VXLAN gateways to advertise host information.

    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run l2vpn-family evpn

      The BGP-EVPN address family view is displayed.

      By default, the BGP-EVPN address family view is disabled.

    4. By default, a device does not advertise ARP or IRB routes to a BGP EVPN peer. Configure advertisement of ARP or IRB routes to implement ARP broadcast suppression. The following two configurations cannot coexist.

      • Run peer ipv4-address advertise arp

        ARB route advertisement is configured.

      • Run peer ipv4-address advertise irb

        IRB route advertisement is configured.

  2. Enable BGP EVPN on a Layer 3 VXLAN gateway to collect host information.

    1. Run system-view

      The system view is displayed.

    2. Run interface vbdif bd-id

      The VBDIF interface view is displayed.

    3. Run arp collect host enable

      BGP EVPN is enabled to collect host information.

      By default, BGP EVPN is disabled from collecting host information.

  3. Enable ARP broadcast suppression on a Layer 2 VXLAN gateway.

    1. Run system-view

      The system view is displayed.

    2. Run bridge-domain bd-id

      The BD view is displayed.

    3. Run arp broadcast-suppress [ mismatch-discard ] enable

      ARP broadcast suppression is enabled.

      By default, ARP broadcast suppression is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >