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.
|
State | State of a neighbor:
|
Type | Neighbor information type:
|
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