clear iparp

clear iparp {ip_addr {vr vr_name} | vlan vlan_name | vr vr_name} {refresh}

Description

Removes dynamic entries in the IP ARP table.

Syntax Description

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.

Default

If you do not specify a VR or VRF, the current VR context is used.

Usage Guidelines

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:

Example

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

History

This command was first available in ExtremeXOS 10.1.

The refresh keyword was added in ExtremeXOS 15.7.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.