246
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:
Step Command Remarks
1. Enter system view.
system-view
N/A
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 ]
By default, the bucket allows a
maximum of 10 tokens. A token
is placed in the bucket at an
interval of 100 milliseconds.
To disable the ICMPv6 rate
limit, set the interval to 0
milliseconds.
Enabling replying to multicast echo requests
The device does not respond to multicast echo requests by default. In some scenarios, you must
enable the device to answer multicast echo requests so the source host can obtain needed
information.
To enable the device to answer multicast echo requests:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enable replying to multicast
echo requests.
ipv6 icmpv6
multicast-echo-reply enable
By default, this feature is disabled.
Enabling sending ICMPv6 destination unreachable
messages
The device sends the source the following ICMPv6 destination unreachable messages:
• ICMPv6 No Route to Destination message—A packet to be forwarded does not match any
route.
• ICMPv6 Communication with Destination Administratively Prohibited message—An
administrative prohibition is preventing successful communication with the destination. This is
typically caused by a firewall or an ACL on the device.
• ICMPv6 Beyond Scope of Source Address message—The destination is beyond the scope
of the source IPv6 address. For example, a packet's source IPv6 address is a link-local address,
and its destination IPv6 address is a global unicast address.
• ICMPv6 Address Unreachable message—The device fails to resolve the link layer address
for the destination IPv6 address of a packet.