display ipv6 neighbors [ ipv6-address | [ vid vlan-id ] interface-type interface-number | vpn-instance vpn-instance-name ]
| Parameter | Description | Value |
|---|---|---|
ipv6-address |
Displays the neighbor entries of the specified IPv6 address. |
- |
vid vlan-id |
Displays the cache contents of the neighbor in a specified VLAN. |
The value is an integer ranging from 1 to 4094. |
interface-type interface-number |
Displays the neighbor entries on the specified interface. |
- |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. The name is used to view the neighbor entries of the specified VPN instance. |
The name is a string of 1 to 31 case-sensitive characters. |
Usage Scenario
Through the output of the display ipv6 neighbors command displays information about dynamic and static ND entries and check the following:
You can run one of the following commands as required:
To view the neighbor entry based on the IPv6 address of the neighbor, run the display ipv6 neighbors [ ipv6-address ] command.
To view the neighbor entry based on the interface number of the neighbor, run the display ipv6 neighbors interface-type interface-number command.
To view the neighbor entry on a VLANIF interface, run the display ipv6 neighbors [ [ vid vlan-id ] interface-type interface-number ] .
# Display contents in the neighbor cache of the specific interface.
<sysname> display ipv6 neighbors GigabitEthernet 0/0/0
-------------------------------------------------------- IPv6 Address : 2001:DB8::2 Link-layer : 00e0-fc89-fe6e State : STALE Interface : GE0/0/0 Age : 00h19m12s VLAN : - CEVLAN: - VPN name : vpn1 Secure FLAG : UN-SECURE IPv6 Address : FE80::2E0:FCFF:FE89:FE6E Link-layer : 00e0-fc89-fe6e State : STALE Interface : GE0/0/0 Age : 00h19m12s VLAN : - VPN name : vpn1 Is Router: TRUE Secure FLAG : UN-SECURE --------------------------------------------------------- Total: 2 Dynamic: 2 Static: 0
# Display the neighbor entries of the specified IPv6 address.
<sysname> display ipv6 neighbors 3003::2
----------------------------------------------------------------------------- IPv6 Address : 2001:DB8::2 Link-layer : 00e0-fc89-fe6e State : STALE Interface : GE0/0/0 Age : 00h19m12s VLAN : - VPN name : vpn1 Is Router: TRUE Secure FLAG : UN-SECURE ----------------------------------------------------------------------------- Total: 1 Dynamic: 1 Static: 0
Item |
Description |
|---|---|
IPv6 Address |
Indicates the IPv6 address of the neighbor. |
Link-layer address |
Indicates the link layer address (MAC address of the neighbor). |
State |
Indicates the statuses of the neighbor entries:
|
Interface |
Indicates the interface to which the neighbor entry belongs. |
Age |
Indicates the time for establishing the neighbor entry, including the following situations:
|
VLAN |
Neighbors in the specified VLAN |
VPN name |
Indicates the name of the VPN instance to which the neighbor belongs. |
Is Router: TRUE |
Indicates whether the NA packet carries an R flag.
|
Secure FLAG |
Indicates whether the neighbor entry is secure. The neighbor entry is either secure or insecure.
|
Total |
Total number of the IPv6 ND entries. |
Dynamic |
Number of the dynamic IPv6 ND entries. |
Static |
Number of the static IPv6 ND entries. |