reset arp
Format
reset arp { dynamic [ ip ip-address ] | interface interface-type interface-number [ ip ip-address ] | static }
Parameters
Parameter | Description | Value |
---|---|---|
dynamic | Deletes dynamic ARP entries. | - |
interface interface-type interface-number |
|
- |
ip ip-address | Deletes dynamic ARP entries of a specified interface and with a specified IP address. If an interface learns excessive ARP entries, you can specify this parameter to delete a specified ARP entry. |
The value is in dotted decimal notation. |
static | Deletes static ARP entries. | - |
Usage Guidelines
Usage Scenario
If an unauthorized user sends a large number of ARP packets to a device, the device learns a large number of ARP entries in a short period of time, causing the buffer to overflow. As a result, users may fail to access the network. To solve the problem, you can run the reset arp command to delete invalid ARP entries and create new ARP entries to ensure that users can access the network.
Prerequisites
Before using the reset arp command, ensure that the corresponding ARP entries exist.
Configuration Impact
After an ARP entry is cleared, the mapping between the IP address and the MAC address is cleared. As a result, users may fail to assess the network and services may be interrupted.
Precautions
ARP entries are cleared at an interval of at least 20s.