clear ipv6 cache

Deletes all entries in the dynamic host IPv6 cache.
Syntax
clear ipv6 cache [ vrf vrf-name ] [ ipv6-address | ipv6-prefix/prefix-length | ethernet unit/slot/port | lag lag-id | tunnel tunnel-id | ve ve-number ]
Parameters
vrf vrf-name
Removes cache entries for the specified VPN Routing/Forwarding (VRF) instance.
ipv6-address
Removes cache entries for the specified IPv6 address.
ipv6-prefix/prefix-length
Removes cache entries for the specified IPv6 prefix.
ethernet unit/slot/port
Removes cache entries for the specified Ethernet interface.
tunnel tunnel-id
Removes cache entries for the specified tunnel interface.
lag lag-id
Specifies the LAG virtual interface.
ve ve-number
Removes cache entries for the specified Virtual Ethernet (VE) interface.
Modes

Privileged EXEC mode

Usage Guidelines

You can remove all entries from the IPv6 cache or specify an entry based on the IPv6 prefix, IPv6 address, or interface type.

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 entries for IPv6 address 2000:e0ff::1.

device# clear ipv6 cache 2000:e0ff::1
History
Release version Command history
08.0.61 This command was modified to add lag lag-id options.