clear ipv6 neighbor

Removes entries from the IPv6 neighbor table.
Syntax
clear ipv6 neighbor [ vrf vrf-name ] { ethernet unit/slot/port | lag lag-id | ve ve-number } [ dynamic | incomplete | stale | static ]
clear ipv6 neighbor[ vrf vrf-name ] { ethernet unit/slot/port | lag lag-id | ve ve-number } [ dynamic | incomplete | stale | static ]
Parameters
vrf vrf-name
Removes entries from the IPv6 neighbor table for the specified VPN Routing/Forwarding (VRF) instance.
ethernet unit/slot/port
Removes cache entries for the specified Ethernet interface.
lag lag-id
Removes entries for the specified Link Aggregation Group (LAG).
ve ve-number
Removes cache entries for the specified Virtual Ethernet (VE) interface.
dynamic
Clears dynamically learned IPv6 neighbors.
incomplete
Clears IPv6 neighbors in an incomplete state.
stale
Clears IPv6 neighbors in a stale state.
static
Clears statically configured IPv6 neighbors.
ipv6-address
Removes cache entries for the specified IPv6 address.
ipv6-prefix/prefix-length
Removes cache entries for the specified IPv6 prefix.
inspection statistics
Clears dynamic ND inspection entries.
statistics
Clears ND inspection statistics.
Modes

Privileged EXEC mode

Usage Guidelines

You must specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons, as documented in RFC 2373. You must specify the prefix-length parameter as a decimal value. A slash mark (/) must follow the ipv6-prefix parameter and precede the prefix-length parameter.

You must specify the ipv6-address parameter in hexadecimal using 16-bit values between colons, as documented in RFC 2373.

Examples

The following example removes neighbor entries for Ethernet interface 1/3/1.

device# clear ipv6 neighbor ethernet 1/3/1

The following example clears IPv6 neighbor entries that are in a stale state.

device# clear ipv6 neighbor stale

The following example clears IPv6 neighbor entries that are in a stale state for a specified VE interface.

device# clear ipv6 neighbor ve 20 stale

The following example clears IPv6 neighbor entries that are in an incomplete state.

device# clear ipv6 neighbor incomplete

The following example clears IPv6 neighbor entries that are in an incomplete stale state for a specified Ethernet interface.

device# clear ipv6 ethernet 1/1/1 incomplete

History
Release version Command history
08.0.61 This command was modified to add laglag-id options.
08.0.95 The dynamic, incomplete, stale, static, statistics, and inspectionstatistics keywords were added.