148
Enabling NTDP globally and for specific ports
For NTDP to work normally, you must enable NTDP both globally and on specific ports.
To do…
Use the command… Remarks
1. Enter system view.
system-view —
2. Enable NTDP globally.
ntdp enable
Optional.
Enabled by default.
3. Enter Ethernet interface view
or Layer 2 aggregate
interface view.
interface interface-type interface-
number
—
4. Enable NTDP for the port.
ntdp enable
Optional.
NTDP is enabled on all ports by
default.
NOTE:
HP recommends that you disable NTDP on the port which connects with the devices that do not need to
join the cluster, preventing the management device from adding the device which needs not to join the
cluster and collecting the topology information of this device.
Configuring NTDP parameters
By configuring the maximum hops for collecting topology information, get topology information of the
devices in a specified range, avoiding unlimited topology collection.
After the interval for collecting topology information is configured, the device collects the topology
information at this interval.
To avoid network congestion caused by large amounts of topology responses received in short periods,
perform the following steps:
• Upon receiving an NTDP topology-collection request, a device does not forward the request, instead,
it waits for a period of time and then forwards the request on its first NTDP-enabled port.
• On the same device, except the first port, each NTDP-enabled port waits for a period of time and
then forwards the NTDP topology-collection request after the previous port forwards the NTDP
topology-collection request.
To configure NTDP parameters:
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Configure the maximum hops
for topology collection.
ntdp hop hop-value
Optional.
3 by default.
3. Configure the interval to
collect topology information.
ntdp timer interval
Optional.
1 minute by default.
4. Configure the delay to
forward topology-collection
request packets on the first
port.
ntdp timer hop-delay delay-time
Optional.
200 ms by default.