clear neighbor-discovery cache

clear neighbor-discovery cache ipv6 {ipv6address {vr vr_name} | vlan vlan_name | vr vr_name} refresh

Description

Deletes a dynamic entry from the neighbor cache.

Syntax Description

vr_name Specifies a VR or VRF.
ipv6address Specifies an IPv6 address.
vlan_name Specifies an IPv6 configured This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches..
refresh Refreshes the IPv6 neighbor discovery cache and deletes the inactive entries.

Default

N/A.

Usage Guidelines

This command clears dynamic entries from the neighbor cache. The vr option is used to specify the VR or VRF on which the operation is performed. When this option is omitted, it applies to current VR context.

When the ipv6address or vlan options are specified, only the entries with matching IPv6 addresses or that correspond to that VLAN are cleared.

Based on the attributes you specify, the refresh attribute refreshes and deletes the corresponding IPv6 neighbor discovery entries as follows:

Example

The following example clears all entries from the neighbor cache:

clear neighbor-discovery cache

The following example refreshes all entries in the neighbor discovery cache and delete inactive entries if the neighbor solicitation fails:

clear neighbor-discovery cache refresh

History

This command was first available in ExtremeXOS 11.2.

The refresh option was added in ExtremeXOS 15.7.1.

Platform Availability

This command is available on the platforms listed for the IPv6 unicast routing feature in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.