Neighbor Cache and Neighbor Discovery Commands
22-14 IPv6 Configuration
Neighbor Cache and Neighbor Discovery Commands
TheIPv6NeighborCachefunctionssimilarlytotheIPv4ARPtable.Entriescanbemadetothe
NeighborCachebytheNeighborDiscoveryprotocol.
TheNeighborDiscoverycommandsallowyoutosetprotocolparametersonaninterfacebasis.
clear ipv6 neighbors
ThiscommandclearsallthedynamicallylearnedentriesintheNeighborCache,oranentryona
specificinterface.
Syntax
clear ipv6 neighbor [vlan vlan-id]
Parameters
Defaults
None.
Mode
Routerprivilegedexec:C3(su)>router#
Usage
ToclearalldynamicallylearnedNeighborCacheentries,usethiscommandwithoutany
parameters.
Example
Thisexampleclearsalldynamicallylearnedcacheentries.
C3(su)->router#clear ipv6 neighbors
For information about... Refer to page...
clear ipv6 neighbors 22 -14
ipv6 nd dad attempts 22-15
ipv6 nd ns-interval 22-15
ipv6 nd reachable-time 22-16
ipv6 nd other-config-flag 22-17
ipv6 nd ra-interval 22-18
ipv6 nd ra-lifetime 22 -18
ipv6 nd suppress-ra 22-19
ipv6 nd prefix 22-19
vlanvlanid (Optional)Clearonlytheentriesonthespecifiedinterface.