Configuring an IPv6 global unicast address
Use one of the following methods to configure an IPv6 global unicast address for an interface:
•
EUI-64 IPv6 address—The IPv6 address prefix of the interface is manually configured, and the
interface identifier is generated automatically by the interface.
Manual configuration—The IPv6 global unicast address is manually configured.
•
You can configure multiple IPv6 global unicast addresses with different prefixes on an interface.
EUI-64 IPv6 address
To configure an interface to generate an EUI-64 IPv6 address:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure the interface to
generate an EUI-64 IPv6
address.
Manual configuration
To configure an IPv6 global unicast address for an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure an IPv6 global
unicast address for the
interface.
Configuring an IPv6 link-local address
Configure IPv6 link-local addresses using one of the following methods:
Automatic generation—The device automatically generates a link-local address for an interface
•
according to the link-local address prefix (FE80::/10) and the link-layer address of the interface.
Manual assignment—Manually configure an IPv6 link-local address for an interface.
•
An interface can have only one link-local address. To avoid link-local address conflicts, use the automatic
generation method.
Manual assignment takes precedence over automatic generation. If you first use automatic generation
and then manual assignment, the manually assigned link-local address overwrites the automatically
generated one. 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 is still the manually assigned
Command
system-view
interface interface-type
interface-number
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
eui-64
Command
system-view
interface interface-type
interface-number
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
125
Remarks
N/A
N/A
By default, no IPv6 global unicast
address is configured on an interface.
Remarks
N/A
N/A
By default, no IPv6 global unicast
address is configured on an interface.