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

Table Of Contents
708
Usage guidelines
After an IPv6 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.
The undo ipv6 address auto link-local command can only remove the link-local addresses generated
through the ipv6 address auto link-local command. After the undo ipv6 address auto link-local
command is used on an interface that has an IPv6 global unicast address configured, the interface still
has a link-local address. If the interface has no IPv6 global unicast address configured, it has no link-local
address.
Manual assignment takes precedence over automatic generation. If you first adopt automatic generation
and then manual assignment, the manually assigned link-local address overwrites the automatically
generated address. If you first use manual assignment and then automatic generation, the automatically
generated link-local address does not take effect and the link-local address of an interface is still the
manually assigned address. If you delete the manually assigned address, the automatically generated
link-local address is validated. For more information about manually assignment of an IPv6 link-local
address, see the ipv6 address link-local command.
Examples
# Configure GigabitEthernet 0/1 to automatically generate a link-local address.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ipv6 address auto link-local
ipv6 address eui-64
Use ipv6 address eui-64 to configure an EUI-64 IPv6 address for an interface.
Use undo ipv6 address eui-64 to remove the configured EUI-64 IPv6 address for the interface.
Syntax
ipv6 address ipv6-address/prefix-length eui-64
undo ipv6 address ipv6-address/prefix-length eui-64
Default
No EUI-64 IPv6 address is configured for an interface.
Views
Interface view
Default command level
2: System level
Parameters
ipv6-address/prefix-length: IPv6 address and IPv6 prefix length. The ipv6-address and prefix-length
arguments jointly specify the prefix of an EUI-64 IPv6 address.
Usage guidelines
An EUI-64 IPv6 address is generated based on the specified prefix and the automatically generated
interface identifier and is displayed by using the display ipv6 interface command.
The prefix length of an EUI-64 IPv6 address cannot be greater than 64.