Command Reference IPv6 Commands
in RFC4291.
interface-id
Network interface of the neighbor (including routed Port, L3 AP
interface, or SVI interface).
hardware-address
Hardware address of the neighbor. It shall be a 48-bit MAC address in
the format of XXXX.XXXX.XXXX, where “X” is a hexadecimal number.
Defaults
No static neighbor is configured.
Command
Mode
Global configuration mode.
Usage Guide
Similar to the ARP command, the static neighbor can only be configured on an IPv6 protocol enabled
interface.
If the neighbor to be configured has been learned through NDP and has been stored in the neighbor
list, the dynamically generated neighbor will be automatically switched to a static one. The configured
static neighbor is always in the Reachable status.
Use clear ipv6 neighbors to clear all the neighbors dynamically learned through NDP.
Use show ipv6 neighbors to view the neighbor information.
Configuration
Examples
Ruijie(config)# ipv6 neighbor 2001::1 vlan 1 00d0.f811.1111
Command Description
show ipv6 neighbors
Show the neighbor information.
Related
Commands
clear ipv6 neighbors
Clear the neighbors learned dynamically.
Platform
Description
N/A
ipv6 ns-linklocal-src
Use this command to set the local address of the link as the source IP address to send neighbor
requests. When no ipv6 ns-linklocal-src is executed, the global IP address will be taken as the
source address to send neighbor requests.
ipv6 ns-linklocal-src
no ipv6 ns-linklocal-src
Parameter Description Parameter
Description
N/A N/A
Defaults
The local address of the link is always used as the source address to send neighbor requests.
Command
Mode
Global configuration mode.