Configuring the Function of Periodically Updating ARP Entries
Context
After a device learns ARP entries, it saves them to the software table and then delivers them to the hardware table. If the entries in the hardware table are incorrect, packets cannot be forwarded normally. In this case, you can enable the function of periodically updating ARP entries in the device hardware table to correct the ARP entries so that packets can be forwarded normally.
To reduce the load on a device, when the CPU usage reaches about 50%, the device does not periodically update ARP entries in the device hardware table.
Procedure
- Run system-view
The system view is displayed.
- Run arp regularly-refresh enable
The function of periodically updating ARP entries in the device hardware table is enabled.
By default, the function of periodically updating ARP entries in the device hardware table is enabled.
- (Optional) Run arp regularly-refresh cycle-interval cycle-interval
The interval for updating ARP entries in the device hardware table is specified.
By default, the interval for updating ARP entries in the device hardware table is 1 minute.
- (Optional) Run arp regularly-refresh scan-interval scan-interval
The scan interval for updating ARP entries in the device hardware table is specified.
By default, the scan interval for updating ARP entries in the device hardware table is 1 second.
- (Optional) Run arp regularly-refresh entry-number entry-number
The number of updating ARP entries in the device hardware table each time is specified.
By default, the number of ARP entries in the hardware table updated each time is 50.