Reference Guide
clear ipv6 neighbors
Delete all entries in the IPv6 neighbor discovery cache or neighbors of a specic 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 specic IPv6
neighbor. The :: notation species successive hexadecimal elds of zero.
•
interface interface — To remove all neighbor entries learned on a specic 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. Trac ow for all the routes in the switch is
aected.
•
A::B/mask — Removes the IPv6 route and refreshes the IPv6 routing table. Trac ow in the switch is
aected only for the specied route.
Default Not congured
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
372 Layer 3