223
Configuring a static path MTU for an IPv6 address
You can configure 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").
To configure a static path MTU for a destination IPv6 address:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Configure 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
configured for any IPv6 address.
Configuring 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 tasks:
• 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 configure the aging time for dynamic path MTUs:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Configure 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.
Configuring the rate limit for ICMPv6 error messages
To avoid sending excessive ICMPv6 error messages within a short period that might cause network
congestion, you can limit the rate at which ICMPv6 error messages are sent. A token bucket
algorithm is used with one token representing one ICMPv6 error message.
A token is placed in the bucket at intervals until the maximum number of tokens that the bucket can
hold is reached.
A token is removed from the bucket when an ICMPv6 error message is sent. When the bucket is
empty, ICMPv6 error messages are not sent until a new token is placed in the bucket.
To configure the rate limit for ICMPv6 error messages: