12-7
Parameters
ipv6-address: IPv6 address whose neighbor information is to be displayed.
all: Displays information of all neighbors, including neighbors acquired dynamically and configured
statically.
dynamic: Displays information of all neighbors acquired dynamically.
static: Displays information of all neighbors configured statically.
interface interface-type interface-number: Displays information of the neighbors of a specified
interface.
vlan vlan-id: Displays information of the neighbors of a specified VLAN whose ID ranges from 1 to
4094.
|: Uses a regular expression to match neighbor entries. For detailed information about regular
expression, see CLI in the Fundamentals Configuration Guide.
begin: Displays a specific neighbor entry and all the neighbor entries following it. The specific neighbor
entry must match the specified regular expression.
include: Displays the neighbor entries matching the specified regular expression.
exclude: Displays the neighbor entries not matching the specified regular expression.
regular-expression: A case-sensitive string of 1 to 256 characters.
Description
Use the display ipv6 neighbors command to display neighbor information.
You can use the reset ipv6 neighbors command to clear specific IPv6 neighbor information.
Related commands: ipv6 neighbor and reset ipv6 neighbors.
Examples
# Display all neighbor information.
<Sysname> display ipv6 neighbors all
Type: S-Static D-Dynamic
IPv6 Address Link-layer VID Interface State T Age
FE80::200:5EFF:FE32:B800 0000-5e32-b800 N/A Eth1/0/1 REACH S -
Table 12-4 display ipv6 neighbors command output description
Field Description
IPv6 Address IPv6 address of a neighbor
Link-layer Link layer address (MAC address of a neighbor)
VID VLAN to which the interface connected with a neighbor belongs
Interface Interface connected with a neighbor
State
State of a neighbor, including:
z INCMP: The address is being resolved. The link layer address of the neighbor
is unknown.
z REACH: The neighbor is reachable.
z STALE: The reachability of the neighbor is unknown. The device will not verify
the reachability any longer unless data is sent to the neighbor.
z DELAY: The reachability of the neighbor is unknown. The device sends an NS
message after a delay.
z PROBE: The reachability of the neighbor is unknown. The device sends an NS
message to verify the reachability of the neighbor.