< Home

display ntdp device-list

Function

The display ntdp device-list command displays the topology information collected using NTDP.

Format

display ntdp device-list [ verbose ]

Parameters

Parameter Description Value
verbose

Displays detailed device information.

If you run the display ntdp device-list command without setting optional parameters, brief information about the device is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To check the topology information collected using NTDP, run the display ntdp device-list command. The topology information can be displayed only after ntdp explore command is run in the user view to enable the switch to periodically collect the topology information.

When NTDP is not enabled on interfaces of the switch, only information about the switch itself is collected using NTDP.

Prerequisites

NTDP has been globally enabled on the switch.

Example

# Display brief switch information collected using NTDP.

<HUAWEI> display ntdp device-list
The device-list of NTDP:
------------------------------------------------------------------------------
 MAC             HOP  IP                  PLATFORM
------------------------------------------------------------------------------
 5489-9875-edff  0                        S5700                                 
 0012-3321-2211  1    10.1.1.2/24         S5700                                 
 5489-9875-ea74  1    10.1.1.3/24         S5700 
Table 1 Description of the display ntdp device-list command output

Item

Description

MAC

MAC address of the device.

HOP

Number of hops from the device to the topology collecting device.

IP

IP address of the device.

PLATFORM

Type of the device.

# Display detailed device information collected using NTDP.

<HUAWEI> display ntdp device-list verbose
<HUAWEI> display ntdp device-list verbose
 Hostname  : HUAWEI
 MAC       : 5489-9875-edff
 Hop       : 0
 Platform  : S5700
 IP        : 
 Version   : Version 5.150 V200R019C10
 Cluster   : Administrator switch of cluster
 Peer MAC        Native Port ID Peer Port ID   N-Index    P-Index    Speed Dup
 0012-3321-2211  GE0/0/4        GE0/0/4        9          9          1000  FULL 
 5489-9875-ea74  GE0/0/1        GE0/0/1        6          6          1000  FULL

-----------------------------------------------------------------------------
                                                                               
 Hostname  : HUAWEI                                             
 MAC       : 0012-3321-2211                                                     
 Hop       : 1                                                                  
 Platform  : S5700                                                              
 IP        : 10.1.1.2/24                                                        
 Version   : Version 5.150 V200R019C10                                   
 Cluster   : Candidate switch 
                                                                                
 Peer MAC        Native Port ID Peer Port ID   N-Index    P-Index    Speed Dup  
 5489-9875-edff  GE0/0/4        GE0/0/4        9          9          1000   FULL        
                                            
-----------------------------------------------------------------------------   
                                                                                
 Hostname  : HUAWEI                                              
 MAC       : 5489-9875-ea74                                                     
 Hop       : 1                                                                  
 Platform  : S5700                                                              
 IP        : 10.1.1.3/24                                                        
 Version   : Version 5.150 V200R019C10                                   
 Cluster   : Candidate switch 
                                                                                
 Peer MAC        Native Port ID Peer Port ID   N-Index    P-Index    Speed Dup  
 5489-9875-edff  GE0/0/1        GE0/0/1        6          6          1000   FULL    
       
Table 2 Description of the display ntdp device-list verbose command output

Item

Description

Hostname

Host name of the device.

MAC

MAC address of the device.

Hop

Number of hops from the device to the topology collecting device.

Platform

Model of the device.

IP

Private IP address of the device.

Version

Version of the system software running on the device.

Cluster

Role of the device in the cluster.

Peer MAC

MAC address of the neighboring node.

Native Port ID

Interface of the device connecting to the neighboring node.

Peer Port ID

Interface of the neighboring node connecting to the local device.

N-Index

Index of the local interface.

P-Index

Index of the peer interface.

Speed

Rate of the interface when the neighboring node is connected to the device.

Dup

Duplex mode of the interface when the neighboring node is connected to the local device.

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