ipv6 icmp error-interval
Syntax
ipv6 icmp error-interval
0 - 2147483647
[ bucket-size
1 - 200
]
no ipv6 icmp error-interval
Description
This command is executed from the global configuration level, and uses a “token bucket” method for limiting the rate of ICMP error and informational messages. Using this method, each ICMP message uses one token, and a message can be sent only if there is a token available. In the default configuration, a new token can be added every 100 milliseconds, and a maximum of 10 tokens are allowed in the token bucket. If the token bucket is full, a new token cannot be added until an existing token is used to enable sending an ICMP message. You can increase or decrease both the frequency with which used tokens can be replaced and (optionally) the number of tokens allowed to exist.
Options
error-interval
-
Specifies the time interval in milliseconds between successive token adds. Increasing this value decreases the rate at which tokens can be added. A setting of
0
disables ICMP messaging.Default : 100; Range: 0 - 2147483647
bucket-size
-
This optional keyword specifies the maximum number of tokens allowed in the token bucket at any time. Decreasing this value decreases the maximum number of tokens that may be available at any time.
Default : 10; Range: 1 - 200
You can change the rate at which ICMP messages are allowed by changing the error-interval with or without a corresponding change in the bucket-size.
The
no ipv6 icmp error-interval
command resets both theerror-interval
and thebucket-size
values to their defaults.
Usage
Use the
show run
command to view the current ICMP error interval settings.
Example input
The following command limits ICMP error and informational messages to no more than 20 every 1 second:
Switch(config)# ipv6 icmp error-interval 1000000 bucket-size 20