ipv6 neighbor

Adds a static entry to the IPv6 neighbor discovery cache.
Syntax
ipv6 neighbor ipv6-address [ ve ve-num ] ethernet stack/ slot/port link-layer-address
no ipv6 neighbor ipv6-address [ ve ve-num ] ethernet stack/ slot/port link-layer-address
Command Default

A static entry is not added to the IPv6 neighbor discovery cache.

Parameters
ipv6-address
Specifies the IPv6 address of the neighbor.
ve ve-num
Specifies the outgoing interface type as VE.
ethernet stack/ slot/port
Specifies the outgoing interface type as Ethernet. If you specify VE, specify the Ethernet interface associated with the VE.
link-layer-address
Specifies the 48-bit hardware address of the neighbor.
Modes

Global configuration mode

Usage Guidelines

In some special cases, a neighbor cannot be reached using the neighbor discovery feature. In this situation, you can add a static entry to the IPv6 neighbor discovery cache, which causes a neighbor to be reachable at all times without using neighbor discovery. (A static entry in the IPv6 neighbor discovery cache functions like a static ARP entry in IPv4.)

A port that has a statically assigned IPv6 entry cannot be added to a VLAN.

Static neighbor configurations will be cleared on secondary ports when a LAG is formed.

If you attempt to add an entry that already exists in the neighbor discovery cache, the software changes the already existing entry to a static entry.

The no form of the command removes a static IPv6 entry from the IPv6 neighbor discovery cache.

Examples

The following example adds a static entry for a neighbor with the IPv6 address 2001:DB8:2678:47b and linklayer address 0000.002b.8641 that is reachable through Ethernet interface 1/3/1.

device(config)# ipv6 neighbor 2001:DB8:2678:47b ethernet 1/3/1 0000.002b.8641