Command Reference IPv6 Commands
ipv6 icmp error-interval too-big milliseconds [ bucket-size ]
no ipv6 icmp error-interval too-big milliseconds [ bucket-size ]
Use this command to set the frequency with which other ICMPv6 error packets are sent. Use the no
form of this command to restore the default setting.
ipv6 icmp error-interval milliseconds [ bucket-size ]
no ipv6 icmp error-interval milliseconds [ bucket-size ]
Sets the refresh interval of the token bucket, in the
range from 0 to 2147483647 in the unit of seconds.
Setting the value to 0 indicates that the frequency with
which ICMPv6 error packets are sent is not fixed.
Sets the number of tokens in the token bucket, in the
range from 1 to 200.
The default milliseconds is 100 and bucket-size is 10.
Global configuration mode
The token bucket algorithm is adopted to set the frequency with which ICMPv6 error packets are sent
so as to prevent Denial of Service (DoS) attack,
If the forwarded IPv6 packet is greater than the egress IPv6 MTU in size, the router discards the IPv6
packet and sends the ICMPv6-oversize error packet to the source IPv6 address. This kind of ICMPv6
error packet is used for IPv6 path MTU discovery. If there are too many ICMPv6 error packets, the
ICMPv6-oversize error packet may not be sent, causing IPv6 path MTU discovery failure. Therefore,
it is recommended to set the frequency of ICMPv6-oversize error packet and other ICMPv6 error
packet respectively. Note that ICMPv6 redirect packet is not an ICMPv6 error packet and Ruijie sets
the frequency of the ICMPv6 redirect packet the same as that of other ICMPv6 error packet.
For the timer is accurate to 10 milliseconds, it is recommended to set the refresh interval of the token
bucket to an integer multiple of 10 milliseconds. If the refresh interval is not an integer multiple of 10
milliseconds, it is converted automatically. For example, the frequency of 1 per five milliseconds turns
out to be 2 per 10 milliseconds; the frequency of 3 per 15 milliseconds is converted to 2 per 10
milliseconds.
The following example sets the frequency with which ICMPv6-oversize error packets are sent to 100
per second.
Ruijie(config)# ipv6 icmp error-interval too-big 1000 100
The following example sets the frequency with which other ICMPv6 error packets are sent to 10 per
second.
Ruijie(config)# ipv6 icmp error-interval 1000 10