1-18Method I: system-viewSystem View: return to User View with Ctrl+Z.[Sysname] interface vlan-interface 1[Sysname-Vlan-interface1] ipv6 address 2001::1/64Method II: system-viewSystem View: return to User View with Ctrl+Z.[Sysname] interface Vlan-interface 1[Sysname-Vlan-interface1] ipv6 address 2001::1 64ipv6 address auto link-localSyntaxipv6 address auto link-localundo ipv6 address auto link-localViewVLAN interface viewParametersNoneDescriptionUse the ipv6 address auto link-local command to automatically generate a link-local address for aninterface.Use the undo ipv6 address auto link-local command to remove the automatically generated link-localaddress for an interface.By default, a link-local address is generated automatically after a site-local IPv6 address or globalunicast address is configured for an interface.Note that:z After an IPv6 site-local address or aggregatable global unicast address is configured for aninterface, a link-local address is generated automatically. The automatically generated link-localaddress is the same as the one generated by using the ipv6 address auto link-local command.z The undo ipv6 address auto link-local command can be used only after the ipv6 address autolink-local command is executed. However, if an IPv6 site-local address or aggregatable globalunicast address is already configured for an interface, the interface still has a link-local addressbecause the system automatically generates one for the interface. If no IPv6 site-local address oraggregatable global unicast address is configured, the interface has no link-local address.z Manual assignment takes precedence over automatic generation. That is, if you first adoptautomatic generation and then manual assignment, the manually assigned link-local address willoverwrite the automatically generated one. If you first adopt manual assignment and thenautomatic generation, the automatically generated link-local address will not take effect and thelink-local address of an interface is still the manually assigned one. If you delete the manuallyassigned address, the automatically generated link-local address is validated. For manuallyassignment of an IPv6 link-local address, refer to the ipv6 address link-local command.