
171
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 interface
interface-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.
NOTE:
H3C recommends that you disable NDP on a port which connects with the switches that do not need to join
the cluster. This prevents the management switch from adding and collecting topology information from
switches which do not need to joint the cluster.
Configuring NDP parameters
A port enabled with NDP periodically sends NDP packets to its neighbors. If no NDP information from
the neighbor is received to reset the holdtime, the holdtime times out and the switch removes the
corresponding entry 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
switch to keep the NDP packets
ndp timer aging
aging-time
Optional
180 seconds by default.
CAUTION:
The time for the receiving switch to hold NDP packets cannot be shorter than the interval for sending NDP
packets; otherwise, the NDP table may become instable.
Enabling NTDP globally and for specific ports
For NTDP to work normally, you must enable NTDP both globally and on specific ports.
Follow these steps to enable NTDP globally and for specific ports:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable NTDP globally
ntdp enable
Optional
Enabled by default