12-21
z
After an IPv6 site-local address or aggregatable global unicast address is configured for an
interface, a link-local address is generated automatically. The automatically generated link-local
address 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 only remove the link-local addresses
generated through the
ipv6 address auto link-local
command. Therefore, after the
undo ipv6
address auto link-local
command is used on an interface that has an IPv6 site-local address or
aggregatable global unicast address configured, the interface still has a link-local address. If the
interface has no IPv6 site-local address or aggregatable global unicast address configured, it will
have no link-local address.
z
Manual assignment takes precedence over automatic generation. That is, if you first adopt
automatic generation and then manual assignment, the manually assigned link-local address will
overwrite the automatically generated one. If you first adopt manual assignment and then
automatic generation, the automatically generated link-local address will not take effect and the
link-local address of an interface is still the manually assigned one. If you delete the manually
assigned address, the automatically generated link-local address is validated. For manually
assignment of an IPv6 link-local address, see the
ipv6 address link-local
command.
Examples
# Configure VLAN-interface 100 to automatically generate a link-local address.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address auto link-local
ipv6 address eui-64
Syntax
ipv6 address
ipv6-address/prefix-length
eui-64
undo ipv6 address
ipv6-address/prefix-length
eui-64
View
Interface view
Default Level
2: System level
Parameters
ipv6-address
/
prefix-length
: IPv6 address and IPv6 prefix. The
ipv6-address
and
prefix-length
arguments jointly specify the prefix of an IPv6 address in the EUI-64 format.
Description
Use the
ipv6 address
eui-64
command to configure a site-local address or global unicast address in
the EUI-64 format for an interface.
Use the
undo ipv6 address eui-64
command to remove the configured site-local address or global
unicast address in the EUI-64 format for the interface.
By default, no site-local or global unicast address in EUI-64 format is configured for an interface.
An EUI-64 IPv6 address is generated based on the specified prefix and the interface identifier
generated automatically by the interface and can be displayed by using the
display ipv6 interface
command.