display ipv6 neighbors [ ipv6-address | vpn-instance vpn-instance-name | { interface-name | interface-type interface-number } ]
display ipv6 neighbors vid vlan-id { interface-name | interface-type interface-number }
display ipv6 neighbors { interface-name | interface-type interface-number } vid vlan-id [ cevid ce-vid ]
display ipv6 neighbors brief
display ipv6 neighbors slot slot-num
Parameter | Description | Value |
---|---|---|
ipv6-address |
Specifies the IPv6 address. If this parameter is specified, information about ND entries of the specified IPv6 address is displayed. |
The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
vpn-instance vpn-instance-name |
Specifies the name of an IPv6 VPN instance. If this parameter is specified, information about ND entries of the specified IPv6 VPN instance is displayed. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
interface-name |
Displays neighbor entries on a specified interface. |
- |
interface-type interface-number |
Displays neighbor entries on a specified interface. |
- |
vid vlan-id |
Specifies the ID of the VLAN to which an interface belongs. |
An integer ranging from 1 to 4094. |
cevid ce-vid |
Specifies the VLAN ID of CE(the vlaue of inside tag). |
An integer ranging from 1 to 4094. |
brief |
Specifies brief information about neighbor entries. |
- |
slot slot-num |
Specifies the slot ID. If this parameter is specified, information about neighbor entries on the specified slot ID is displayed. |
The value is an integer. You can enter a question mark (?) and select a value from the displayed value range. |
Usage Scenario
Through the output of the display ipv6 neighbors command displays information about dynamic and static ND entries and check the following:
Precautions
If no parameter is specified when the display ipv6 neighbors command is run, information about all ND entries is displayed.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ipv6 neighbors brief D-Dynamic,S-Static,R-Remote I-INCMP,R-REACH,S-STALE,D-DELAY,P-PROBE ----------------------------------------------------------------- IPv6 Address Link-layer State Type Interface ----------------------------------------------------------------- 2001:DB8::3 00e0-fc02-0003 I S GE0/1/1 2001:DB8::4 000e0-fc02-0004 I S GE0/1/2 ----------------------------------------------------------------- Total: 2 Dynamic: 0 Static: 2 Remote:0
<HUAWEI> display ipv6 neighbors vpn-instance vpnA ----------------------------------------------------------------------------- IPv6 Address : 2001:DB8::2 Link-layer : 00e0-fc89-fe6e State : INCMP Interface : GE0/1/1 Age : - VLAN : - CEVLAN : - VPN name : vpnA Is Router : TRUE Secure FLAG : SECURE----------------------------------------------------------------------------- Total: 1 Dynamic: 0 Static: 1 Remote:0
<HUAWEI> display ipv6 neighbors gigabitethernet 0/1/1 ----------------------------------------------------------------------------- IPv6 Address : 2001:DB8::1 Link-layer : 00e0-fc89-fe6e State : INCMP Interface : GE0/1/1 Age : - VLAN : - CEVLAN : - VPN name : vpn1 Is Router : TRUE Secure FLAG : SECURESource IP : - Destination IP: - VNI : - BD : - ----------------------------------------------------------------------------- Total: 1 Dynamic: 0 Static: 1 Remote:0
<HUAWEI> display ipv6 neighbors 2001:db8::2 ----------------------------------------------------------------------------- IPv6 Address : 2001:DB8::2 Link-layer : 00e0-fc89-fe6e State : STALE Interface : GE0/1/1 Age : - VLAN : - CEVLAN : - VPN name : - Is Router : TRUE Secure FLAG : SECURESource IP : - Destination IP: - VNI : - BD : - ----------------------------------------------------------------------------- Total: 1 Dynamic: 0 Static: 1 Remote:0
<HUAWEI> display ipv6 neighbors Vlanif 1 ----------------------------------------------------------------------------- IPv6 Address : 2001:DB8::1 Link-layer : 00e0-fce0-0089 State : INCMP Interface : GE0/1/1 Age : - VLAN : 1 CEVLAN : - VPN name : - Is Router : TRUE Secure FLAG : SECURESource IP : - Destination IP: - VNI : - BD : - ----------------------------------------------------------------------------- Total: 1 Dynamic: 0 Static: 1 Remote:0
Item | Description |
---|---|
IPv6 Address | IPv6 address of the neighbor. |
Link-layer | Link layer address (MAC address of the neighbor). |
State | Status of ND entries.
|
Type | Type of neighbor entries:
|
Interface | Interface to which the ND entry belongs. |
Age | Elapsed time after an ND entry is created, including the following situations:
|
VLAN | Neighbors in the specified VLAN. |
CEVLAN | Neighbors in the specified VLAN ID of CE. |
VPN name | Name of the VPN instance to which the neighbor belongs. |
Is Router | Whether a device is a router. |
Secure FLAG | Secure flag of a neighbor entry.
|
Source IP | Source IP address. |
Destination IP | Destination IP address. |
VNI | network identifier. |
BD | Bridge domain. |
Total | Total number of ND entries. |
Dynamic | Total number of dynamic ND entries. |
Static | Total number of static ND entries. |
Remote | Total number of ND entries sent by the remote end. |