Task
Configuring ICMPv6 packet sending
Configuring basic IPv6 functions
Enabling IPv6
Enable IPv6 before you perform any IPv6-related configuration. Without IPv6 enabled, an interface
cannot forward IPv6 packets even if it has an IPv6 address configured.
To enable IPv6:
Step
1.
Enter system view.
2.
Enable IPv6.
Configuring an IPv6 global unicast address
Configure an IPv6 global unicast address by using the following options:
EUI-64 IPv6 addressing—The IPv6 address prefix of an interface is manually configured, and the
•
interface identifier is generated automatically by the interface.
Manual configuration—The IPv6 global unicast address is configured manually.
•
Stateless address autoconfiguration—The IPv6 global unicast address is generated automatically
•
based on the address prefix information contained in the RA message.
You can configure multiple IPv6 global unicast addresses with different prefixes on an interface.
A manually configured global unicast address takes precedence over an automatically generated one.
If a global unicast address has been automatically generated on an interface when you manually
•
configure another one with the same address prefix, the latter overwrites the previous. The
overwritten automatic global unicast address does not be restored even if the manual one is
removed.
Instead, a new global unicast address is automatically generated based on the address prefix
•
information in the RA message that the interface receives at the next time.
EUI-64 IPv6 addressing
To configure an interface to generate an EUI-64 IPv6 address:
Step
1.
Enter system view.
Configuring the maximum ICMPv6 error packets sent
in an interval
Enabling replying to multicast echo requests
Enabling sending ICMPv6 time exceeded messages
Enabling sending ICMPv6 destination unreachable
messages
Command
system-view
ipv6
Command
system-view
114
Remarks
Optional.
Optional.
Optional.
Optional.
Remarks
N/A
Disabled by default.
Remarks
N/A