A neighbor relationship can be established between a local device and its neighbor after a neighbor is manually configured.
system-view
interface interface-type interface-number
To configure a static neighbor entry on a common Layer-3 interface, run the ipv6 neighbor ipv6-address mac-address command.
To configure a static neighbor entry on a VLANIF interface, run the ipv6 neighbor ipv6-address mac-address vid vlan-id interface-type interface-number command.
You can configure up to 300 neighbors on each interface.
Run the display ipv6 neighbors command to check the cache of the neighbor information containing neighbors' IPv6 addresses and the specified interfaces.
<sysname> display ipv6 neighbors GigabitEthernet 0/0/0
-------------------------------------------------------- IPv6 Address : 2001:DB8::2 Link-layer : 00e0-fc89-fe6e State : STALE Interface : GE0/0/0 Age : 00h19m12s VLAN : - CEVLAN: - VPN name : vpn1 Is Router: TRUE Secure FLAG : UN-SECURE --------------------------------------------------------- Total: 1 Dynamic: 1 Static: 0