12-20 
Parameters 
None 
Description 
Use the ipv6 address auto command to enable the stateless address autoconfiguration function on an 
interface. With this function enabled, the interface can automatically generate a global unicast address. 
Use the undo ipv6 address auto command to disable this function. 
The stateless address autoconfiguration function is disabled by default. 
 
 
After an aggregatable 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 function on VLAN-interface 100. 
<Sysname> system-view 
[Sysname] interface vlan-interface 100 
[Sysname-Vlan-interface100] ipv6 address auto 
ipv6 address auto link-local 
Syntax 
ipv6 address auto link-local 
undo ipv6 address auto link-local 
View 
Interface view 
Default Level 
2: System level 
Parameters 
None 
Description 
Use the ipv6 address auto link-local command to automatically generate a link-local address for an 
interface. 
Use the undo ipv6 address auto link-local command to remove the automatically generated link-local 
address for the interface. 
By default, a link-local address will automatically be generated after a site-local or global IPv6 unicast 
address is configured for an interface. 
Note that: