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 VLAN.
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 32.6.1 Feature License Requirements document.