This section describes how to use reset commands to clear ARP statistics.
Context
- Static ARP entries cannot be restored after being cleared. Exercise caution when you clear static ARP entries.
- After ARP entries are cleared, the mapping between IP and MAC addresses is deleted, which may cause a failure to access some nodes. Exercise caution when you clear ARP entries.
Procedure
- To clear ARP entries, run the following commands in the user view:
- Run the reset arp all command to clear all ARP entries.
- Run the reset arp dynamic ip ipAddrValue command to clear dynamic ARP entries of a specified IP address.
- Run the reset arp dynamic ip ip-address vpn-instance vpn-instance-name command to clear dynamic ARP entries of a specified IP address in a VPN instance.
- Run the reset arp interface { interface-name | interface-type interface-number } [ ip ip-address ] command to clear ARP entries learned by a specified interface.
- Run the reset arp vpn-instance vpn-instance-name command to clear ARP entries of a specified VPN instance.
- To clear ARP packet statistics on a specified board or all boards, run the reset arp packet statistics [ slot slot-id ] command in the user view.
- To clear ARP packet statistics on a specified Layer 3 interface or all Layer 3 interfaces, run the reset arp packet statistics interface [ interface-type interface-number ] command in the user view.
- To clear ARP packet statistics in a specified BD, run the reset arp packet statistics bridge-domain bd-id command in the user view.