Procedure
Enter system view.
system-view
Enter VLAN view.
vlan vlan-id
Enable ND attack detection.
ipv6 nd detection enable
By default, ND attack detection is disabled.
(Optional.) Configure the interface as ND trusted interface:
Return to system view.
quit
Enter Layer 2 Ethernet or aggregate interface view.
interface interface-type interface-number
Configure the interface as ND trusted interface.
ipv6 nd detection trust
By default, all interfaces are ND untrusted interfaces.