Hosts and routers can learn dynamic ARP entries by default. However, you can adjust dynamic ARP aging parameters or optimize the ARP entry update policy.
Aging time: When the aging time of a dynamic ARP entry expires, a device sends an ARP probe packet (ARP Request message) from the outbound interface recorded in the dynamic ARP entry, and starts counting the number of ARP probes.
Number of ARP aging probes: Before deleting an aged dynamic ARP entry, a device sends ARP probe packets to the IP address recorded in the ARP entry at specified intervals. If the configured number of ARP aging probes is exceeded but the ARP entry has not been updated, the device will delete the ARP entry.
ARP aging probe interval: It is the interval at which probe packets are sent.
If the aging time of dynamic ARP entries is set too short, for example, 1 minute, the device will be busy updating dynamic ARP entries. This consumes a lot of system resources and affects the processing of other services.
Length of time before the deletion of a dynamic ARP entry = Number of ARP aging probes x Probe interval
Setting a long probe interval is not recommended, because a long interval will delay the deletion of an aged dynamic ARP entry according to the formula.
After the Layer 2 topology detection function is enabled, the aging time of all ARP entries corresponding to the VLAN to which a Layer 2 interface belongs is set to 0 when the status of the Layer 2 interface changes from Down to Up. Then the device resends ARP probe packets to update all ARP entries.
After the device on a ring network is disabled from responding to TC packets, the device will not age or delete ARP entries after receiving TC packets, reducing resource consumptions caused by frequent ARP entry updates and minimizing adverse impacts on user services.
Before configuring dynamic ARP, complete the following tasks:
Configure physical parameters for interfaces to ensure that the physical status of the interfaces is Up.
Configure link layer protocol parameters for interfaces to ensure that the link layer protocol status of the interfaces is Up.
After configuring dynamic ARP, verify the configuration.
Run the display arp all command to check the ARP entries on the main control boards and all interface boards.
Run the display arp interface interface-name command to check the ARP entries on a specified interface.
Run the display arp slot slot-id command to check the ARP entries on a board in a specified slot.
Run the display arp vpn-instance vpn-instance-name slot slot-id [ dynamic | static ] command to check the ARP entries of a specified VPN instance.