Controlling sending icmpv6 messages, Enabling replying to multicast echo requests, Specifying the source interface for dns packets – H3C Technologies H3C S12500-X Series Switches User Manual
Page 135: Optional.)
124
To configure a customer-side port:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Create a VLAN interface and
enter its view.
interface vlan-interface
vlan-interface-id
If the VLAN interface exists, you
directly enter its view.
3.
Specify the VLAN interface as a
customer-side port.
ipv6 nd mode uni
By default, a port operates as a
network-side port.
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 a
specific interval 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:
Step 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:
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 function is not
enabled.