R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

272
To prevent too many ICMPv6 error messages from affecting device performance, disable this function.
Even with the function disabled, the device still sends fragment reassembly time exceeded messages.
Examples
# Disable sending ICMPv6 time exceeded messages.
<Sysname> system-view
[Sysname] undo ipv6 hoplimit-expires enable
ipv6 icmpv6 error-interval
Use ipv6 icmpv6 error-interval to set the interval and bucket size for ICMPv6 error messages.
Use undo ipv6 icmpv6 error-interval to restore the default.
Syntax
ipv6 icmpv6 error-interval milliseconds [ bucketsize ]
undo ipv6 icmpv6 error-interval
Default
The bucket allows a maximum of 10 tokens, and tokens are placed in the bucket at the interval of 100
milliseconds.
Views
System view
Predefined user roles
network-admin
Parameters
milliseconds: Sets the interval for tokens to arrive in the bucket. The value range is 0 to 2147483647
milliseconds, and the default is 100 milliseconds. To disable the ICMPv6 rate limit, set the value to 0.
bucketsize: Specifies the maximum number of tokens allowed in the bucket. The value range is 1 to 200,
and the default is 10.
Usage guidelines
To avoid sending excessive ICMPv6 error messages within a short period that might cause network
congestion, you can use the command to limit the rate at which ICMPv6 error messages are sent. A token
bucket algorithm is used with one token representing one ICMPv6 error message.
Tokens are placed in the bucket at intervals until the maximum number of tokens that the bucket can hold
is reached.
Tokens are removed from the bucket when ICMPv6 error messages are sent. When the bucket is empty,
ICMPv6 error messages are not sent until a new token is placed in the bucket.
Examples
# Configure an interval of 200 milliseconds and bucket size of 40 tokens for ICMPv6 error messages.
<Sysname> system-view
[Sysname] ipv6 icmpv6 error-interval 200 40
ipv6 icmpv6 multicast-echo-reply enable
Use ipv6 icmpv6 multicast-echo-reply enable to enable replying to multicast echo requests.