Enabling NDP globally and for specific ports

For NDP to work normally, you must enable NTDP both globally and on specific ports.

To enable NDP globally and for specific ports:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable NDP globally.

ndp enable

Optional.

Disabled by default.

3. Enable the NDP feature for the port(s).

  • In system view:ndp enable interface interface-list

  • In Ethernet interface view or Layer 2 aggregate interface view:interface interface-type interface-number

  • ndp enable

Use either command.

By default, NDP is Disabled globally and also on all ports.


[NOTE: ]

NOTE:

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.