display ipv6 neighbors

Syntax

display ipv6 neighbors { { ipv6-address | all | dynamic | static } [ slot slot-number ] | interface interface-type interface-number | vlan vlan-id } [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Specifies the IPv6 address whose neighbor information is to be displayed.

all: Displays information about all neighbors, including neighbors acquired dynamically and configured statically on the public network and all private networks.

dynamic: Displays information about all neighbors acquired dynamically.

static: Displays information about all neighbors configured statically.

slot slot-number: Displays the neighbor information on a specific IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command. On a standalone device, the slot-number argument specifies the ID of the device.

interface interface-type interface-number: Displays information about the neighbors of a specific interface.

vlan vlan-id: Displays information about the neighbors of a specific VLAN whose ID ranges from 1 to 4094.

verbose: Displays detailed information about neighbors.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ipv6 neighbors 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

<Sysname> display ipv6 neighbors all verbose
                Type: S-Static    D-Dynamic

IPv6 Address     : FE80::200:5EFF:FE32:B800
Link-layer       : 0000-5e32-b800      VID : N/A    Interface   : Eth1/0/1
State             : REACH                 Type: S       Age     : -
Vpn-instance     : vpn1

Table 34: Command output

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:

  • INCMP—The address is being resolved. The link layer address of the neighbor is unknown.

  • REACH—The neighbor is reachable.

  • STALE—The reachability of the neighbor is unknown. The device will not verify the reachability any longer unless data is sent to the neighbor.

  • DELAY—The reachability of the neighbor is unknown. The device sends an NS message after a delay.

  • PROBE—The reachability of the neighbor is unknown. The device sends an NS message to verify the reachability of the neighbor.

Type

Type of neighbor information, including static configuration (represented by S) and dynamic acquisition (represented by D).

Age

For a static entry, a hyphen (-) is displayed. For a dynamic entry, the reachable time (in seconds) elapsed is displayed, and if it is never reachable, a pound sign (#) is displayed (for a neighbor acquired dynamically).

Vpn-instance

Name of a VPN. [No Vrf] indicates no VPN is configured.