EUI-64 format: When the EUI-64 format is adopted to form IPv6 addresses, the
■
IPv6 address prefix of an interface is the configured prefix and the interface
identifier is derived from the link-layer address of the interface.
Manual configuration: IPv6 site-local addresses or aggregatable global unicast
■
addresses are configured manually.
IPv6 link-local addresses can be configured in either of the following ways:
Automatic generation: The device automatically generates a link-local address
■
for an interface according to the link-local address prefix (FE80::/64) and the
link-layer address of the interface.
Manual assignment: IPv6 link-local addresses can be assigned manually.
■
Follow these steps to configure an IPv6 unicast address:
To do...
Enter system view
Enter interface view
Configure an
IPv6
aggregatable
global unicast
address or
site-local
address
Configure an
IPv6 link-local
address
n
After an IPv6 site-local address or aggregatable global unicast address is
■
configured for an interface, a link-local address will be generated automatically.
The automatically generated link-local address is the same as the one
generated by using the ipv6 address auto link-local command. If a link-local
address is manually assigned to an interface, this link-local address takes effect.
If the manually assigned link-local address is removed, the automatically
generated link-local address takes effect.
The manual assignment takes precedence over the automatic generation. That
■
is, if you first adopt the automatic generation and then the manual
assignment, the manually assigned link-local address will overwrite the
automatically generated one. If you first adopt the manual assignment and
then the 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.
Use the command...
system-view
interface interface-type
interface-number
Manually assign an
ipv6 address
IPv6 address
{ ipv6-address
prefix-length |
ipv6-address/prefix-lengt
h }
Adopt the EUI-64
ipv6 address
format to form an
ipv6-address/prefix-lengt
IPv6 address
h eui-64
Automatically
ipv6 address auto
generate a link-local
link-local
address
Manually assign a
ipv6 address
link-local address for
ipv6-address link-local
an interface
Configuring Basic IPv6 Functions
Remarks
-
-
Required to use either
command.
By default, no site-local
address or aggregatable
global unicast address is
configured for an
interface.
Optional
By default, after an IPv6
site-local address or
aggregatable global
unicast address is
configured for an
interface, a link-local
address will be
generated automatically.
509