F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
707
ipv6 address auto
Use ipv6 address auto to enable the stateless address autoconfiguration function on the interface. With
this function enabled, the interface can automatically generate a global unicast address.
Use undo ipv6 address auto to disable this function.
Syntax
ipv6 address auto
undo ipv6 address auto
Default
The stateless address autoconfiguration function is disabled.
Views
Interface view
Default command level
2: System level
Usage guidelines
After a global unicast address is generated through stateless autoconfiguration, a link-local address is
generated automatically, which can be removed only by executing the undo ipv6 address auto
command.
Examples
# Enable stateless address autoconfiguration on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ipv6 address auto
ipv6 address auto link-local
Use ipv6 address auto link-local to automatically generate a link-local address for an interface.
Use undo ipv6 address auto link-local to remove the automatically generated link-local address for the
interface.
Syntax
ipv6 address auto link-local
undo ipv6 address auto link-local
Default
No link-local address is configured on an interface, and a link-local address is automatically generated
after an IPv6 global unicast address is configured for the interface.
Views
Interface view
Default command level
2: System level