< Home

Configuring a Device to Delete Dynamic ARP Entries after a Delay

By default, a device deletes dynamic ARP entries immediately after a VLAN interface goes Down. If you configure a device to delete dynamic ARP entries after a delay, it sends ARP detection packets and then deletes or updates ARP entries based on whether it receives ARP reply packets within the ARP aging time.

Prerequisites

Before configuring delayed deletion of dynamic ARP entries, create a VLANIF interface.

Context

When a VLANIF interface serves as a gateway, the network planners usually deploy a ring or dual-homing network to improve network reliability. If a faulty link causes an interface in a VLAN to go Down, the device immediately deletes dynamic ARP entries learned by the interface and updates and relearns ARP entries through newly sent user traffic. However, if many users are connected to the gateway, user traffic may be interrupted for a long time due to the affected performance in relearning ARP entries.

To minimize the service interruption time and accelerate user traffic convergence, network administrators can enable the device to delete dynamic ARP entries after a delay if an interface in a VLAN goes Down. After this function is enabled, the device does not immediately delete dynamic ARP entries learned by the interface after it goes Down. Instead, it sends ARP detection packets and then deletes or updates ARP entries depending on whether it receives ARP reply packets within the ARP aging time.

Procedure

  1. Access the system view.

    system-view

  2. Create a VLANIF interface and access the VLANIF interface view.

    interface vlanif vlan-id

  3. Configure the delayed deletion of dynamic ARP entries.

    arp purge slowly

    To update ARP entries, a better alternative to ARP aging mechanism is associating MAC entries with ARP entries, because the device learns MAC entries faster. Therefore, to accelerate user traffic convergence, you are advised to enable ARP entry delayed deletion and associate MAC entries with ARP entries.

Follow-up Procedure

Run the display this command to check the configurations for delayed deletion of dynamic ARP entries on a specified VLANIF interface.

[sysname-Vlanif1] display this
#
interface Vlanif233
 arp purge slowly
 ip address 10.1.1.1 255.255.255.0
#
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >