< Home

Configuring the Learning of Gratuitous ARP Packets

After the learning of gratuitous ARP packets is configured, a device adds the source IP address and source MAC address carried in gratuitous ARP packets to the dynamic ARP mapping table when no ARP entry matches the source IP address in ARP packets.

Prerequisites

Before configuring gratuitous ARP, set the IP address of the interface enabled with gratuitous ARP. For details on how to set the IP address, see Overview of Interfaces.

Context

If an ARP entry matches the source IP address of ARP packets, the device updates this dynamic ARP entry, regardless of the learning of gratuitous ARP packets.

Procedure

  1. Access the system view.

    system-view

  2. Access the interface view.

    interface interface-type interface-number

  3. Enable the device to learn gratuitous ARP packets.

    gratuitous-arp learn enable

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