1-10 
information from all devices in a specific network range (which can be set through the ntdp hop 
command) as well as the connection information of all its neighbors. Through this information, the 
management device or the network management software knows the topology in the network range, 
and thus it can manage and monitor the devices in the range. 
Examples 
# Start a topology collection process. 
<Sysname> ntdp explore 
ntdp hop 
Syntax 
ntdp hop hop-value 
undo ntdp hop 
View 
System view 
Parameters 
hop-value: Maximum hops to collect topology information, namely, the topology collection range, in the 
range of 1 to 16. 
Description 
Use the ntdp hop command to set the topology collection range. 
Use the undo ntdp hop command to restore the default topology collection range. 
By default, the topology collection range is three hops. 
With the ntdp hop command, you can specify to collect topology information from the devices within a 
specified range to avoid infinite collection. That is, you can limit the range of topology collection by 
setting the maximum hops from the collecting device to the collected devices. For example, if you set 
the maximum hops to two, the switch initiating the topology collection collects topology information from 
the switches within two hops. 
Note that: 
z  The topology collection range set by this command is applicable to both the periodic and manual 
topology collection. 
z  This command is only applicable to topology-collecting device, and a wider collection range 
requires more memory of the topology-collecting device. 
Examples 
# Set the topology collection range to 5 hops. 
<aaa_0.Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[aaa_0.Sysname] ntdp hop 5