245
host. The source host fragments the packet according to the MTU. To avoid this situation, set a
proper interface MTU.
To set the interface MTU:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Set the interface MTU.
ipv6 mtu
size
By default, no interface MTU is
set.
Setting a static path MTU for an IPv6 address
You can set a static path MTU for an IPv6 address. Before sending a packet to the IPv6 address, the
device compares the MTU of the output interface with the static path MTU. If the packet exceeds the
smaller one of the two values, the device fragments the packet according to the smaller value. After
sending the fragmented packets, the device dynamically finds the path MTU to a destination host
(see "IPv6 path MTU discovery").
T
o set a static path MTU for a destination IPv6 address:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Set a static path MTU for a
destination IPv6 address.
ipv6 pathmtu
[
vpn-instance
vpn-instance-name ] ipv6-address
value
By default, no path MTU is set for
any IPv6 address.
Setting the aging time for dynamic path MTUs
After the device dynamically finds the path MTU to a destination host (see "IPv6 path MTU
discovery"), it performs the following operations:
• Sends packets to the destination host based on the path MTU.
• Starts the aging timer.
When the aging timer expires, the device removes the dynamic path MTU and finds the path MTU
again.
To set the aging time for dynamic path MTUs:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Set the aging time for
dynamic path MTUs.
ipv6 pathmtu age
age-time
The default setting is 10 minutes.
The aging time is invalid for a
static path MTU.
Controlling sending ICMPv6 messages
This section describes how to configure ICMPv6 message sending.