Clearing ARP entries
Context
After ARP entries are cleared, mappings between IP addresses and MAC addresses are deleted. As a result, users may fail to access specified nodes. Exercise caution when you clear ARP entries.
Before updating ARP entries, clear ARP entries on the device so that the device will relearn the entries.
Procedure
- Run the following commands in the user view to clear ARP entries. For example, clear dynamic entries, static entries, or ARP entries of a specified interface.
Run the reset arp dynamic [ ip ip-address [ vpn-instance vpn-instance-name ] ] command to clear dynamic ARP entries.
Run the reset arp static command to clear static ARP entries.
You can also run the undo arp static ip-address [ mac-address ] [ vpn-instance vpn-instance-name | vid vlan-id [ cevid ce-vid ] interface interface-type interface-number ] command in the system view to clear static ARP entries.
Run the reset arp interface interface-type interface-number [ ip ip-address ] command to clear ARP entries on the specified interface.
- In the user view, run the reset arp packet statistics command to clear ARP packet statistics.