display ipv6 neighbors

Use display ipv6 neighbors to display IPv6 neighbor information.

Syntax

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

display ipv6 neighbors { { ipv6-address | all | dynamic | static } [ chassis chassis-number slot slot-number ] | interface interface-type interface-number | vlan vlan-id } [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

ipv6-address: Specifies the IPv6 address of a neighbor whose information is 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: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6 neighbor information for all cards.

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays IPv6 neighbor information for all cards.

interface interface-type interface-number: Specifies an interface by its type and number.

vlan vlan-id: Displays information about neighbors in the specified VLAN. The value range for VLAN ID is 1 to 4094.

verbose: Displays detailed neighbor information.

Examples

# Display all neighbor information.

<Sysname> display ipv6 neighbors all
Type: S-Static    D-Dynamic    O-Openflow     R-Rule    I-Invalid
IPv6 address                 Link layer     VID       Interface/Link ID   State T  Age
1::2                          6864-6839-0202 1         XGE1/0/1              STALE D  136
FE80::6A64:68FF:FE39:202  6864-6839-0202 1         XGE1/0/1              STALE D  126

# Display detailed information about all neighbors.

<Sysname> display ipv6 neighbors all verbose
Type: S-Static    D-Dynamic    O-Openflow     R-Rule    I-Invalid
IPv6 Address: 1::2
Link Layer  : 6864-6839-0202      VID : 1    Interface: 
State        : STALE                 Type: D     Age      : 290
Vpn-instance: [No Vrf]
NickName    : 0x0
IPv6 Address: FE80::6A64:68FF:FE39:202
Link Layer  : 6864-6839-0202      VID : 1    Interface: 
State        : STALE                 Type: D     Age      : 280
Vpn-instance: [No Vrf]
NickName     : 0x0

Table 48: Command output

Field

Description

IPv6 Address

IPv6 address of a neighbor.

Link Layer

Link layer address (MAC address) of a neighbor.

VID

VLAN or virtual switch instance (VSI) to which the interface connected to a neighbor belongs. This field displays N/A if the VLAN ID or VSI index is invalid.

Interface/Link ID

Interface or link connected to a neighbor.

  • If the neighbor entry does not belong to a VSI, this field displays the interface name. If the interface name is not available, the field displays N/A.

  • If the neighbor entry belongs to a VSI and the interface is a tunnel interface, the displayed value depends on the address resolution status.

    • If the address is not resolved, this field displays the VSI.

    • If the address is resolved, this field displays the tunnel ID.

  • If the neighbor entry belongs to a VSI but the interface is not a tunnel interface, the displayed value depends on the address resolution status.

    • If the address is not resolved, this field displays the VSI.

    • If the address is resolved, this field displays the link ID. The link ID is a string with a maximum of eight hexadecimal numbers.

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—Whether the neighbor is reachable is unknown. The device does not verify the reachability any longer unless data is sent to the neighbor.

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

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

Type

Neighbor information type:

  • S—Statically configured.

  • D—Dynamically obtained.

  • O—Learned from the OpenFlow module.

  • R—Learned from the Portal module.

  • I—Invalid.

Age

A hyphen (-) indicates a static entry.

For a dynamic entry, this field displays the elapsed time in seconds. If the neighbor is never reachable, this field displays a pound sign (#).

Vpn-instance

Name of a VPN or [No Vrf] with no VPN configured.

NickName

Nickname of a neighbor entry. The name is a string of four hexadecimal numbers. For more information about Nickname, see TRILL Configuration Guide.

Related commands

ipv6 neighbor

reset ipv6 neighbors