1-13
The regular expression supports various special characters. For details, refer to the display
current-configuration command in Configuration File Management Command.
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, reset ipv6 neighbors.
Examples
# View all neighbor information.
<Sysname> display ipv6 neighbors all
Type: S-Static D-Dynamic
IPv6 Address Link-layer VID Interface State T Age
2008::110 0015-e9ac-69b6 1 GE1/1/2 REACH S -
FE80::215:E9FF:FEAC:69B6 0015-e9ac-69b6 1 GE1/1/2 STALE D 22
FE80::20F:E2FF:FE00:2201 000f-e200-2201 1 GE1/1/2 STALE D 28
2008::3610 000f-e200-2201 1 GE1/1/2 STALE D 28
Table 1-9 Description on the fields of the display ipv6 neighbors command
Field Description
IPv6 Address IPv6 address of a neighbor
Link-layer Link layer address (MAC address of a neighbor)
VID ID of the VLAN to which the interface connected to a neighbor belongs
Interface Interface connected to a neighbor
State
State of a neighbor, which can be:
z INCMP: Address resolution is in progress, so the link layer address of the
neighbor is unknown yet.
z REACH: The neighbor is reachable.
z STALE: The reachability to the neighbor is unknown. The device does not
verify the reachability to the neighbor unless it sends a packet to the
neighbor.
z DELAY: The reachability to the neighbor is unknown. The device will send a
neighbor request message after a delay time.
z PROBE: The reachability to the neighbor is unknown. The device sent a
neighbor request message to verify the reachability.
T
Type of neighbor information, including S (static configuration) and D (dynamic
acquisition).
Age
z For a static entry, “-“ is displayed.
z For a dynamic entry, the time (in seconds) since it is reachable last time is
displayed, and if it is never reachable, “#” is displayed (for a dynamic
neighbor only).
display ipv6 neighbors count
Syntax
display ipv6 neighbors { all | dynamic | static | interface interface-type interface-number | vlan
vlan-id } count
View
Any view