ipv6 neighbor mac

Syntax

ipv6 neighbor <IPV6-ADDR> mac <MAC-ADDR>

no ipv6 neighbor <IPV6-ADDR> mac <MAC-ADDR>

Description

Specifies a permanent static neighbor entry in the ARP table (for IPv6 neighbors).

The no form of this command deletes a permanent static neighbor entry from the ARP table.

Command context

config-if

Parameters

<IPV6-ADDR>>

Specifies an IP address in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), where x is a hexadecimal number from 0 to F. Range: 4096 to 131072. Default: 131072.

mac <MAC-ADDR>>

Specifies the MAC address of the neighbor (xx:xx:xx:xx:xx:xx), where x is a hexadecimal number from 0 to F. Range: 4096 to 131072. Default: 131072.

Authority

Administrators or local user group members with execution rights for this command.

Example

On the 6400 Switch Series, interface identification differs.

Creates a static ARP entry on interface 1/1/1.

switch(config)# interface 1/1/1
switch(config-if)# arp ipv6 neighbor 2001:0db8:85a3::8a2e:0370:7334 mac 00:50:56:96:df:c8