< Home

arp regularly-refresh scan-interval

Function

The arp regularly-refresh scan-interval command sets the scan interval for updating ARP entries in the device hardware table.

The undo arp regularly-refresh scan-interval command restores the default scan interval for updating ARP entries in the device hardware table.

By default, the scan interval for updating ARP entries in the device hardware table is 1 second.

Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

arp regularly-refresh scan-interval scan-interval

undo arp regularly-refresh scan-interval

Parameters

Parameter Description Value

scan-interval

Specifies the scan interval for updating ARP entries in the device hardware table.

The value is an integer in the range from 1 to 300, in seconds. The default value is 1.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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. You can set the scan interval for updating ARP entries in the device hardware table as required.

Precautions

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.

Example

# Set the scan interval for updating ARP entries in the device hardware table.

<HUAWEI> system-view
[HUAWEI] arp regularly-refresh scan-interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >