ipv6 icmp-error

Syntax

ipv6 icmp-error { bucket bucket-size | ratelimit interval } *

undo ipv6 icmp-error

View

System view

Default level

2: System level

Parameters

bucket bucket-size: Number of tokens in the token bucket, in the range of 1 to 200.

ratelimit interval: Update period of the token bucket in milliseconds, in the range of 0 to 2,147,483,647. The update period "0" indicates that the number of ICMPv6 error packets sent is not restricted.

Description

Use ipv6 icmp-error to configure the size and update period of the token bucket.

Use undo ipv6 icmp-error to restore the defaults.

By default, the size is 10 and the update period is 100 milliseconds. A maximum of 10 ICMPv6 error packets can be sent within 100 milliseconds.

Examples

# Set the capacity of the token bucket to 50 and the update period to 100 milliseconds.

<Sysname> system-view
[Sysname] ipv6 icmp-error bucket 50 ratelimit 100