The arp-fake expire-time command sets the aging time of temporary ARP entries.
The undo arp-fake expire-time command restores the default aging time of temporary ARP entries.
By default, the aging time of temporary ARP entries is 3 seconds.
Parameter | Description | Value |
---|---|---|
expire-time | Specifies the aging time of temporary ARP entries. | The value is an integer that ranges from 1 to 36000, in seconds. |
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, VLANIF interface view, VBDIF interface view, VE interface view, port group view
When a device undergoes an ARP Miss attack, you can run the arp-fake expire-time command to extend the aging time of temporary ARP entries to reduce the frequency of triggering ARP Miss messages and minimize the impact on the device.
<HUAWEI> system-view [HUAWEI] vlan 10 [HUAWEI-vlan10] quit [HUAWEI] interface vlanif 10 [HUAWEI-Vlanif10] arp-fake expire-time 10
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] arp-fake expire-time 10