R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

213
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.
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.
To configure the rate limit for ICMPv6 error messages:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the interval and bucket size
for ICMPv6 error messages.
ipv6 icmpv6 error-interval
milliseconds [ bucketsize ]
By default, the bucket allows a
maximum of 10 tokens, and tokens
are placed in the bucket at the
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, however, 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:
Ste
p
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 function is not
enabled.
Enabling sending ICMPv6 destination unreachable messages
The device sends ICMPv6 destination unreachable messages as follows:
If a packet does not match any route, the device sends an ICMPv6 no route to destination message
to the source.
If the device fails to forward the packet because of administrative prohibition (such as a firewall filter
or an ACL), the device sends the source an ICMPv6 communication with destination
administratively prohibited message.