![H3C S5120-SI Series Operation Manual Download Page 656](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174656.webp)
1-7
Configuring the Management Device
Enabling NDP Globally and for Specific Ports
For NDP to work normally, you must enable NTDP both globally and on specific ports.
Follow these steps to enable NDP globally and for specific ports:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable NDP globally
ndp enable
Optional
Enabled by default.
In system
view
ndp enable interfaceinterface-list
interface interface-type
interface-number
Enable the
NDP feature
for the port(s)
In Ethernet
interface view
or Layer 2
aggregate
interface view
ndp enable
Use either command
By default, NDP is enabled
globally and also on all ports.
You are recommended to disable NDP 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 NDP Parameters
A port enabled with NDP periodically sends NDP packets to its neighbors. If no NDP information from
the neighbor is received when the holdtime times out, the corresponding entry is removed from the NDP
table.
Follow these steps to configure NDP parameters:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the interval for
sending NDP packets
ndp timer hello hello-time
Optional
60 seconds by default.
Configure the period for the
receiving device to keep the
NDP packets
ndp timer aging aging-time
Optional
180 seconds by default.
The time for the receiving device to hold NDP packets cannot be shorter than
the interval for sending
NDP packets; otherwise, the
NDP table
may become instable.