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.
Manually configured global unicast addresses take precedence over automatically generated ones. If
you manually configure a global unicast address with the same address prefix as an existing global
unicast address that is automatcially generated on the same interface, the manually configured
overwrites the automatcially generated. If you remove the manually configured address, the device
generates a new global unicast address automatically based on the address prefix information in the RA
message the interface receives next time.
EUI-64 IPv6 addressing
To configure an interface to generate an EUI-64 IPv6 address:
Step
1.
Enter system view.
2.
Enter interface 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
interface interface-type
interface-number
102
Remarks
Optional.
Optional.
Optional.
Optional.
Remarks
N/A
Disabled by default.
Remarks
N/A
N/A