1-10
Task
Remarks
Configuring ICMPv6 Packet Sending
Optional
Configuring IPv6 DNS Client
Optional
Configuring Basic IPv6 Functions
Enabling IPv6
Before performing IPv6-related configurations, you need to Enable IPv6. Otherwise, an interface cannot
forward IPv6 packets even if it has an IPv6 address configured.
Follow these steps to Enable IPv6:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enable IPv6
ipv6
Required
Disabled by default.
Configuring an IPv6 Unicast Address
IPv6 site-local addresses and aggregatable global unicast addresses can be configured in the following
ways:
z
EUI-64 format: When the EUI-64 format is adopted, 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.
z
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:
z
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.
z
Manual assignment: IPv6 link-local addresses can be assigned manually.
Follow these steps to configure an IPv6 unicast address:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Manually assign an
IPv6 address
ipv6 address
{
ipv6-address
prefix-length
|
ipv6-address/prefix-length
}
Configure
an IPv6
aggregatabl
e global
unicast
address or
site-local
address
Adopt the EUI-64
format to form an
IPv6 address
ipv6 address
ipv6-address/prefix-length
eui-64
One of the two commands is
required.
By default, no site-local
address or aggregatable global
unicast address is configured
for an interface.