Reference Guide

Table Of Contents
IPv6 commands
clear ipv6 neighbors
Delete all entries in the IPv6 neighbor discovery cache or neighbors of a specific interface. Static entries are not removed using
this command.
Syntax
clear ipv6 neighbors [vrf vrf-name] [ipv6-address | interface]
Parameters
vrf vrf-name (Optional) Enter the keyword vrf followed by the name of the VRF to clear the
neighbor corresponding to that VRF. If you do not specify this option, the neighbors in the default
VRF are cleared.
ipv6-address Enter the IPv6 address of the neighbor in the x:x:x:x::x format to remove a
specific IPv6 neighbor. The :: notation specifies successive hexadecimal fields of zero.
interface interface To remove all neighbor entries learned on a specific interface, enter the
keyword interface then the interface type and slot/port or number information of the interface:
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port/
subport[/subport] information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
For a port channel interface, enter the keywords port-channel then a number.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4093.
Defaults None.
Command Mode EXEC
Usage
Information
The no version of this command resets the value to the default.
Example
Supported
Releases
10.4.1.0 or later or later
clear ipv6 route
Clears routes from the IPv6 routing table.
Syntax
clear ipv6 route [vrf vrf-name] {* | A::B/mask}
Parameters
vrf vrf-name (Optional) Enter the keyword vrf followed by the name of the VRF to clear the
IPv6 routes corresponding to that VRF.
* Clears all routes and refreshes the IPv6 routing table. Traffic flow for all the routes in the switch
is affected.
A::B/mask Removes the IPv6 route and refreshes the IPv6 routing table. Traffic flow in the
switch is affected only for the specified route.
Default Not configured
Command Mode EXEC
Usage
Information
This command does not remove the static routes from the routing table.
Example
OS10# clear ipv6 route *
Supported
Releases
10.3.0E or later
352 Layer 3