display ipv6 neighbors [ ipv6-address | [ vid vid ] interface-type interface-number | vpn-instance vpn-instance-name ]
display ipv6 neighbors [ interface-type interface-number [ vid vid [ cevid cevid ] ] ]
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support cevid cevid.
Parameter | Description | Value |
---|---|---|
ipv6-address | Displays neighbor entries of a specified IPv6 address. | The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
vid vid | Displays neighbor entries of a specified VLAN. | The value is an integer that ranges from 1 to 4094. |
interface-type interface-number | Displays neighbor entries on a specified interface. | - |
vpn-instance vpn-instance-name | Displays neighbor entries of a specified VPN instance. |
The value must be an existing VPN instance name. |
cevid cevid | Specifies the inner tag. | The value is an integer that ranges from 1 to 4094. |
The display ipv6 neighbors command displays information about dynamic and static ND entries. The information helps you:
You can run one of the following commands as required:
To view neighbor entries based on the neighbor IPv6 address, run the display ipv6 neighbors [ ipv6-address ] command.
To view neighbor entries based on the neighbor interface number, run the display ipv6 neighbors interface-type interface-number command.
To view neighbor entries on a VLANIF interface, run the display ipv6 neighbors [ [ vid vlan-id ] interface-type interface-number ] command or the display ipv6 neighbors [ interface-type interface-number [ vid vid [ cevid cevid ] ] ] command.
To view the neighbor entry on a sub-interface for QinQ VLAN tag termination or Dot1q VLAN tag termination, run the display ipv6 neighbors [ interface-type interface-number [ vid vid [ cevid cevid ] ] ] command.
If no parameter is specified, the display ipv6 neighbors command displays all neighbor entries.
# Display neighbor entries of IPv6 address FC00::2.
<HUAWEI> display ipv6 neighbors fc00::2 ----------------------------------------------------------------------------- IPv6 Address : FC00::2 Link-layer : 00e0-fc89-fe6e State : STALE Interface : GE0/0/1 Age : 00h19m12s VLAN : - CEVLAN: - VPN name : Is Router: FALSE ----------------------------------------------------------------------------- Total: 1 Dynamic: 1 Static: 0
# Display neighbor entries on a specified interface.
<HUAWEI> display ipv6 neighbors vlanif 11 ----------------------------------------------------------------------------- IPv6 Address : FC00::3 Link-layer : 0001-0001-0012 State : INCMP Interface : GE0/0/1 Age : 00h19m12s VLAN : 11 CEVLAN: - VPN name : v1 Is Router: TRUE ----------------------------------------------------------------------------- Total: 1 Dynamic: 0 Static: 1
# View the neighbor entries on the QinQ termination sub-interface GE0/0/1.1.
<HUAWEI> display ipv6 neighbors gigabitethernet 0/0/1.1 vid 1 cevid 1 ----------------------------------------------------------------------------- IPv6 Address : 2001:db8::2 Link-layer : 00e0-3602-8100 State : REACH Interface : GE0/0/1.1 Age : - VLAN : 1 CEVLAN: 1 VPN name : Is Router: TRUE ----------------------------------------------------------------------------- Total: 1 Dynamic: 0 Static: 1
Item |
Description |
---|---|
IPv6 Address |
IPv6 address of a neighbor. |
Link-layer |
Link layer address (MAC address) of the neighbor. |
State |
Status of a neighbor entry:
|
Interface |
Name of the interface to which the neighbor entry belongs. |
Age |
Aging time of the neighbor entry:
|
VLAN |
ID of the VLAN to which the neighbor belongs. |
CEVLAN |
ID of the CEVLAN to which a neighbor belongs. NOTE:
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this parameter. |
VPN name |
Name of a VPN instance to which the neighbor belongs. |
Is Router |
Whether an NA packet carries the R flag:
|
Total |
Number of total neighbor entries. |
Dynamic |
Number of dynamic neighbor entries. |
Static |
Number of static neighbor entries. |