display ipv6 neighbors statistics

Function

The display ipv6 neighbors statistics command displays statistics about ND entries.

Format

display ipv6 neighbors statistics static

display ipv6 neighbors statistics all

display ipv6 neighbors statistics interface { interface-name | interface-type interface-num }

display ipv6 neighbors statistics slot slot-num

display ipv6 neighbors statistics slot all

display ipv6 neighbors statistics free-resource slot slot-num

Parameters

Parameter Description Value
all

Displays statistics about all ND entries on a device.

-

interface interface-name

Displays statistics about ND entries on the interface with a specified name.

The value is a string of 1 to 63 case-insensitive characters. It cannot contain spaces.

interface interface-type interface-num

Displays statistics about ND entries on the interface with a specified type and number.

-

slot slot-num

Displays statistics about ND entries in a specified slot.

The value is a string of 1 to 23 case-sensitive characters, spaces not supported.

free-resource

Displays the number of available ND resources on each interface on a specified slot.

-

static

Displays the maximum number of static ND entries on a device and the current number of static ND entries.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
nd read

Usage Guidelines

Usage Scenario

To check statistics about ND entries, run the display ipv6 neighbors statistics command. Based on the command output, you can obtain the overall status of ND entries and check whether the number of ND entries reaches the upper limit.

Prerequisites

The IPv6 function has been enabled using the ipv6 enable command in the view of an interface before the display ipv6 neighbors statistics interface command is run to check statistics about ND entries on the interface.

Precautions

The display ipv6 neighbors statistics free-resource slot command displays the remaining resources of ND entries in the slot instead of the upper limit of ND entries.

  • If the remaining resources of ND entries are insufficient, configuring or learning ND entries is not recommended. Otherwise, forwarding may fail due to insufficient ND entry resources in the slot.
  • If the number of ND entries does not reach the upper limit, ND entries can still be configured or learned even if no remaining resources are available in the slot.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about all ND entries on a device.
<HUAWEI> display ipv6 neighbors statistics all
-----------------------------------------------
State     Dynamic      Static       Remote     
-----------------------------------------------
Incmp     0            4            0          
Reach     1            2            0          
Stale     0            -            -          
Delay     0            -            -          
Probe     0            -            -          
-----------------------------------------------
Total     1            6            0
# Display statistics about ND entries on different interface.
<HUAWEI> display ipv6 neighbors statistics free-resource slot 1
TYPE                     AVAILABLE
PHY                      65530                          
PHY-QINQ                 65530                     
TRUNK                    65530                        
TRUNK-QINQ               65530                   
VE                       65530                           
VE-QINQ                  65530                       
VLANIF                   65530                       
GLOBAL-VE                65530                   
GLOBAL-VE-QINQ           65530               
BDIF                     65530
# Display statistics about static ND entries.
<HUAWEI> display ipv6 neighbors statistics static
Maximum number of static ND entries on each board    : 65536
Number of static ND entries configured on all boards : 6
# Display statistics about ND entries on a specified interface.
<HUAWEI> display ipv6 neighbors statistics interface GigabitEthernet0/1/0
-----------------------------------------------
State     Dynamic      Static       Remote     
-----------------------------------------------
Incmp     0            0            0          
Reach     0            2            0          
Stale     1            -            -          
Delay     0            -            -          
Probe     0            -            -          
-----------------------------------------------
Total     1            2            0
# Display statistics about ND entries in a specified slot.
<HUAWEI> display ipv6 neighbors statistics slot 1
-----------------------------------------------
State     Dynamic      Static       Remote     
-----------------------------------------------
Incmp     0            0            0          
Reach     0            2            0          
Stale     1            -            -          
Delay     0            -            -          
Probe     0            -            -          
-----------------------------------------------
Total     1            2            0
Table 1 Description of the display ipv6 neighbors statistics command output
Item Description
Dynamic

Number of dynamic ND entries.

Static

Number of static ND entries.

Remote

Number of remote ND entries.

Incmp

Number of ND entries in the INCMP state.

Reach

Number of ND entries in the Reach state.

Stale

Number of ND entries in the Stale state.

Delay

Number of ND entries in the Delay state.

Probe

Number of ND entries in the Probe state.

TYPE

Interface type:

  • PHY: physical interface.
  • PHY-QINQ: physical sub-interface configured as a QinQ VLAN tag termination sub-interface.
  • VE: VE interface.
  • VE-QINQ: VE sub-interface configured as a QinQ VLAN tag termination sub-interface.
  • TRUNK: Eth-Trunk interface.
  • TRUNK-QINQ: Eth-Trunk sub-interface configured as a QinQ VLAN tag termination sub-interface.
  • GLOBAL-VE: global VE interface.
  • GLOBAL-VE-QINQ: global VE sub-interface configured as a QinQ VLAN tag termination sub-interface.
  • VLANIF: VLANIF interface.
  • BDIF: BDIF interface.
AVAILABLE

Number of available ND resources on an interface.

Maximum number of static ND entries on each board

Maximum number of static ND entries on each board.

Number of static ND entries configured on all boards

Number of static ND entries configured on all boards.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >