S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - IP Service

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.

Clearing ARP Entries

Clearing ARP Entries

Context

After ARP entries are cleared, mappings between IP addresses and MAC addresses are deleted, and users may be unable to access specified nodes. Exercise caution when clearing ARP entries.

To make a device update its ARP entries, clear the existing ARP entries on the device.

Procedure

  • Run the following commands in the user view to clear ARP entries.

    • 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 ], undo arp static ip-address mac-address interface interface-type interface-number[.subinterface-number ], or undo arp static ip-address [ mac-address ] vid vlan-id [ cevid ce-vid ] interface interface-type interface-number[.subinterface-number ] command in the system view to clear static ARP entries.

    • Run the reset arp interface interface-type interface-number[.subinterface-number ] [ ip ip-address ] command to clear ARP entries on a specified interface.

    To delete ARP entries based on a certain IP address, you can run the reset arp dynamic ip ip-address [ vpn-instance vpn-instance-name ] or reset arp interface interface-type interface-number[.subinterface-number ] ip ip-address command.

  • In the user view, run the reset arp packet statistics command to clear ARP packet statistics.