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


To have a better experience, please upgrade your IE browser.

Configuration Guide - IP Service
S1720, S2700, S5700, and S6720 V200R011C10

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.

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).
Which Configurations May Affect ARP Entry Update on a Device?

Which Configurations May Affect ARP Entry Update on a Device?

In normal cases, a device dynamically learns and updates ARP entries through ARP packets. These dynamic ARP entries can be overwritten by static ARP entries. Each dynamic ARP entry has an aging time. When the aging time expires, the device sends an ARP probe packet. If the device receives an ARP Reply packet after specified probe attempts, it updates the ARP entry. If the device does not receive any ARP Reply packet beyond the configured probe attempts, it deletes the entry.

Except dynamic ARP aging parameters, some configurations on the device may affect the aging and update of dynamic ARP entries. The following lists these configurations:

  • MAC address-triggered ARP entry update function

    By default, the aging time of MAC entries is five minutes and that of ARP entries is 20 minutes. In some scenarios, MAC entries may have been updated while ARP entries have not been updated, which affects user services.

    After you run the mac-address update arp command to enable the MAC address-triggered ARP entry update function, the device updates outbound interfaces in ARP entries immediately when outbound interfaces in MAC address entries change. This prevents user service interruption.

  • Spanning Tree Protocol (STP)

    By default, a device ages or deletes ARP entries after receiving topology change (TC) BPDUs.
    • When the STP convergence mode is fast, the device directly deletes the mapping ARP entry after receiving TC BPDUs.

    • When the STP convergence mode is normal, the device immediately ages the mapping ARP entry after receiving TC BPDUs. That is, the device sets the entry's remaining life time to 0. If the number of ARP probe attempts configured is greater than 0, the device detects whether the ARP entry ages.

    If STP is configured on a network, you are advised to configure the interfaces connecting the device to a user terminal (such as a host) as an edge port and configure the BPDU protection function. Otherwise, a large number of TC BPDUs will lower the convergence of the STP network topology, and affect ARP entry update and maintenance, as well as user services.

    You can run the arp topology-change disable command to disable the device from aging and deleting ARP entries when receiving TC BPDUs. You are advised to use this function together with the MAC address-triggered ARP entry update function.

  • Strict ARP learning

    After this function is enabled, a device learns ARP entries only when it receives ARP Reply packets in response to the locally sent ARP Request packets.


    A device can set default CPCAR values for packets of each protocol. The CPCAR values of some protocol packets need to be adjusted based on the actual service scale and user network. When many users are connected to the device and a smaller CPCAR value is set for ARP Request and Reply packets, ARP packets may be lost (you can run the display cpu-defend statistics all command to check whether the packets are lost), affecting ARP entry learning and update. In this case, you can adjust the CPCAR value for ARP packets. Improper CPCAR settings will affect services on your network. If you need to adjust CPCAR settings, you are advised to contact Huawei technical personnel for help.

    ARP attacks on the network also affect learning and update of dynamic ARP entries. You are advised to find the attack source and configure the anti-attack function.

Updated: 2020-02-26

Document ID: EDOC1000178170

Views: 276027

Downloads: 1032

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next