Removes dynamic entries in the IP ARP table.
|ip_addr||Specifies an IP address.|
|vlan_name||Specifies a VLAN name.|
|vr_name||Specifies a Virtual Router (VR) or Virtual Router Forwarding instance (VRF) name.|
|refresh||Refreshes the ARP cache and deletes the inactive entries.|
If you do not specify a VR or VRF, the current VR context is used.
Permanent IP ARP entries are not affected.
This command is specific to a single VR or VRF, and it applies to the current VR context if you do not specify a VR or VRF.
Based on the attributes you specify, the refresh attribute refreshes and deletes the corresponding ARP entries as follows:
- clear iparp refresh—Refreshes the entire ARP table and deletes all inactive entries.
- clear iparp ip_addr refresh—Refreshes the specified IP address and deletes the IP ARP entry if the ARP request for IP address fails.
- clear iparp vlan vlan_name refresh—Refreshes all IP ARP entries associated with the VLAN and deletes all inactive entries for the VLAN.
- clear iparp vr vr_name refresh—Refreshes all IP ARP entries associated with the VR and deletes all inactive entries for the VR.
The following example removes a dynamically created entry from the IP ARP table:
clear iparp 10.1.1.5
The following example refreshes the ARP entry by sending an ARP request for the IP address 10.1.1.5. If the ARP response is received, the dynamic entry is retained; otherwise, the dynamic entry is removed from the IP ARP table if the ARP response is not received.
clear iparp 10.1.1.5 refresh
This command was first available in ExtremeXOS 10.1.
The refresh keyword was added in ExtremeXOS 15.7.1.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.