The arp expire-time command sets the aging expiry time of the dynamic Address Resolution Protocol (ARP) entry.
The undo arp expire-time command restores the default setting.
By default, the aging expiry time of the dynamic ARP entry is 1200 seconds, namely 20 minutes.
| Parameter | Description | Value |
|---|---|---|
expire-time |
Specifies the aging expiry time of the ARP entry. |
The value is an integer ranging from 60 to 62640, in seconds. |
Usage Scenario
If a new aging time is set on an interface that has already learned ARP entries, the new aging time will not take effect on the ARP entries that have been learned, but will take effect on the ARP entries to be learned.
To ensure system stability, use the default value of 20 minutes for a dynamic ARP entry.
After Proxy ARP is enabled on a Layer-3 network, you need to shorten the expiry time for an ARP entry to make it invalid as soon as possible. This can reduce the number of invalid packets sent to the Layer-3 network.
The command can be configured globally or on the specified interface. If the command is not configured on the interface, the aging expiry time of a dynamic ARP entry will be the one configured globally. If the command is both configured globally and on the specified interface, the aging expiry time of a dynamic ARP entry will be the one configured on the interface.