No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display ipv6 neighbors

display ipv6 neighbors

Function

The display ipv6 neighbors command displays information about neighbor entries.

Format

display ipv6 neighbors [ ipv6-address | [ vid vid ] interface-type interface-number ]

display ipv6 neighbors [ interface-type interface-number [ vid vid [ cevid cevid ] ] ]

Parameters

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. -
cevid cevid Specifies the inner tag. The value is an integer that ranges from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display ipv6 neighbors command displays information about dynamic and static ND entries. The information helps you:

  • Check whether the local routing device has learned MAC addresses from neighbors.
  • Check the neighbor status of the local routing device, including neighbor unreachable, neighbor reachable, or unknown.

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 [ interface-type interface-number [ vid vid ] ] command.

If no parameter is specified, the display ipv6 neighbors command displays all neighbor entries.

Example

# Display neighbor entries on vlanif 100.

<Huawei> display ipv6 neighbors vlanif 100
-----------------------------------------------------------------------------   
IPv6 Address : 2::1                                                             
Link-layer   : 707b-e8e9-d329                     State : STALE                 
Interface    : GE0/0/0                            Age   : 00h05m12s             
VLAN         : 200                                CEVLAN: -                     
VPN name     :                                    Is Router: TRUE               
Secure FLAG  : UN-SECURE                                                        
                                                                                
IPv6 Address : FE80::727B:E8FF:FEE9:D329                                        
Link-layer   : 707b-e8e9-d329                     State : STALE                 
Interface    : GE0/0/1                            Age   : 00h03m02s             
VLAN         : 100                                CEVLAN: -                     
Is Router: TRUE               
Secure FLAG  : UN-SECURE                                                        
                                                                                
-----------------------------------------------------------------------------   
Total: 2       Dynamic: 2       Static: 0                                       
                                                                                

# Display neighbor entries of IPv6 address 2::1.

<Huawei> display ipv6 neighbors 2::1
-----------------------------------------------------------------------------   
IPv6 Address : 2::1                                                             
Link-layer   : 707b-e8e9-d329                     State : STALE                 
Interface    : GE0/0/0                            Age   : 00h08m37s             
VLAN         : 200                                CEVLAN: -                     
Is Router: TRUE               
Secure FLAG  : UN-SECURE                                                        
                                                                                
-----------------------------------------------------------------------------   
Total: 1       Dynamic: 1       Static: 0                                       
                                                                                
Table 6-56  Description of the display ipv6 neighbors command output

Item

Description

IPv6 Address

IPv6 address of a neighbor.

Link-layer

Link layer address (MAC address) of a neighbor.

State

Status of a neighbor entry:
  • INCMP: indicates that the neighbor is unreachable. When the address is being resolved, the link layer address of the neighbor is not detected. If resolution succeeds, the neighbor entry is in REACH state.
  • REACH: indicates that the neighbor is reachable within a specified period. By default, the neighbor is reachable within 30s. If the period expires and the entry remains unused, the neighbor entry is in STALE state.
  • STALE: indicates that whether the neighbor is reachable is unknown. The entry remains unused within a specified period. By default, the neighbor is reachable within 30s. A device does not detect neighbor reachability unless it needs to send packets to a neighbor.
  • DELAY: indicates that whether the neighbor is reachable is unknown. A device has sent a packet to a neighbor. If the device does not receive any response from the neighbor within the specified period, the neighbor entry is in PROBE state.
  • PROBE: indicates that whether the neighbor is reachable is unknown. A device has sent a packet to a neighbor to detect whether the neighbor is reachable. If the device receives a response from the neighbor within a specified period, the neighbor entry is in REACH state. Otherwise, the neighbor entry is in INCMP state.

Interface

Name of the interface to which the neighbor entry belongs.

Age

Aging time of the neighbor entry:
  • The aging time of static entries is displayed as "-".
  • The aging time of dynamic entries is the time elapsed since the neighbor becomes reachable, in minutes. If the neighbor is always unreachable, "#" is displayed (only for dynamic entries).

VLAN

ID of the VLAN to which the neighbor belongs.

CEVLAN

Inner VLAN ID.

Is Router

Whether an NA packet carries the R flag:
  • If the NA packet carries the R flag, "TRUE" is displayed.

    In this case, the neighbor is a routing device.

  • If the NA packet carries no R flag, "FALSE" is displayed.

    In this case, the neighbor may be a PC or a routing device that sends an NA packet carrying no R flag.

Secure FLAG

Whether the neighbor entry is secure:
  • If the neighbor entry is static or the neighbor has the neighbor security function enabled, "SECURE" is displayed.
  • If the neighbor entry is dynamic and the neighbor has no neighbor security function enabled, "UN-SECURE" is displayed.

Total

Total number of neighbor entries.

Dynamic

Number of dynamic neighbor entries.

Static

Number of static neighbor entries.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 108303

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next