The ipv6 nd na anti-attack enable command enables NA message attack defense.
The undo ipv6 nd na anti-attack enable command disables NA message attack defense.
By default, NA message attack defense is disabled.
Usage Scenario
If a device is attacked, it receives a large number of NA messages within a short period. As a result, the device consumes many CPU resources to learn and respond to peer entries, affecting processing of other services. To resolve this issue, run the ipv6 nd na anti-attack enable command. After NA message attack defense is enabled, only NA messages in response to the NS messages sent from the device are sent to the CPU for processing. The other NA messages are discarded.