ipv6 nd dad attempts

Use ipv6 nd dad attempts to configure the number of attempts to send an NS message for DAD.

Use undo ipv6 nd dad attempts to restore the default.

Syntax

ipv6 nd dad attempts value

undo ipv6 nd dad attempts

Default

The number of attempts to send an NS message for DAD is 1.

Views

Interface view

Predefined user roles

network-admin

Parameters

value: Specifies the number of attempts to send an NS message for DAD, in the range of 0 to 600. If it is set to 0, DAD is disabled.

Usage guidelines

An interface sends an NS message for DAD after obtaining an IPv6 address.

If the interface does not receive a response within the time specified by using the ipv6 nd ns retrans-timer command, it resends an NS message.

If the interface still does not receive a response after the number of attempts reaches the threshold (set by the ipv6 nd dad attempts command), the obtained address is considered usable.

Examples

# Set the number of attempts to send an NS message for DAD to 20.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd dad attempts 20

Related commands