149
Procedure
1. Enter system view.
system-view
2. Set a static path MTU for an IPv6 address.
ipv6 pathmtu ipv6-address value
By default, no path MTU is set for any IPv6 address.
Setting the aging time for dynamic path MTUs
About the aging time for dynamic path MTUs
After the device dynamically discovers 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 this path MTU.
• Starts the aging timer for this path MTU.
When the aging timer expires, the device removes the dynamic path MTU and discovers the path
MTU again.
Restrictions and guidelines
The aging time is invalid for a static path MTU.
Procedure
1. Enter system view.
system-view
2. Set the aging time for dynamic path MTUs.
ipv6 pathmtu age age-time
The default setting is 10 minutes.
Controlling sending ICMPv6 messages
Configuring the rate limit for ICMPv6 error messages
About 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.
Procedure
1. Enter system view.
system-view
2. Set the bucket size and the interval for tokens to arrive in the bucket for ICMPv6 error
messages.
ipv6 icmpv6 error-interval interval [ bucketsize ]