IPv6 Configuration Task List 533
■ To enable a host to access a public IPv6 network, you need to assign an IPv6
global unicast address to it.
IPv6 site-local addresses and global unicast addresses can be configured in either
of the following ways:
■ 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 global unicast addresses are
configured manually.
IPv6 link-local addresses can be acquired 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.
n
■ IPv6 unicast addresses can be configured for only one Switch 4210 VLAN
interface. Only one global unicast address or one site-local address can be
configured for an interface.
■ After an IPv6 site-local address or 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
Tab le 387 Configure an IPv6 unicast address
To do... Use the command... Remarks
Enter system view system-view -
Enter VLAN interface view interface interface-type
interface-number
-
Configure an
IPv6 global
unicast address
or site-local
address
Manually assign an
IPv6 address
ipv6 address {
ipv6-address prefix-length
|
ipv6-address/prefix-lengt
h }
Use either command
By default, no site-local
address or global unicast
address is configured for
an interface.
Note that the prefix
specified by the
prefix-length argument
in an EUI-64 address
cannot exceed 64 bits in
length.
Adopt the EUI-64
format to form an
IPv6 address
ipv6 address
ipv6-address/prefix-length
eui-64
Configure an
IPv6 link-local
address
Automatically
generate a link-local
address
ipv6 address auto
link-local
Optional
By default, after an IPv6
site-local address or
global unicast address is
configured for an
interface, a link-local
address will be
generated automatically.
Manually assign a
link-local address for
an interface.
ipv6 address
ipv6-address link-local