R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

276
If the O flag is set to 1, the host uses stateful autoconfiguration (for example, from a DHCPv6 server) to
obtain configuration information other than IPv6 address. Otherwise, the host uses stateless
autoconfiguration.
Examples
# Configure the host to obtain configuration information other than IPv6 address through stateless
autoconfiguration.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] undo ipv6 nd autoconfig other-flag
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 set by using the ipv6 nd ns retrans-timer
command, it continues to send an NS message.
If the interface still does not receive a response after the number of attempts reaches the threshold (set by
using 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 gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 nd dad attempts 20
Related commands
display ipv6 interface
ipv6 nd ns retrans-timer