The ip prefix-limit log-interval command configures an interval at which logs are generated after the number of IPv4 public route prefixes exceeds the limit.
The undo ip prefix-limit log-interval command restores the default configuration.
By default, the system generates logs at an interval of 5s after the number of IPv4 public route prefixes exceeds the limit.
Parameter | Description | Value |
---|---|---|
interval | Specifies an interval at which logs are generated after the number of IPv4 public route prefixes exceeds the limit. | The value is an integer ranging from 1 to 60, in seconds. |
Usage Scenario
The system generates logs at an interval of 5s after the number of IPv4 public route prefixes exceeds the limit. You can run the ip prefix-limit log-interval command to set a larger value for the interval to decrease the frequency at which these logs are generated.
The maximum number of IPv4 public route prefixes supported by the routing table can be adjusted using the ip prefix-limit command.
Precautions
If a log is generated to record the event that the number of IPv4 public route prefixes reaches the limit, no more routes can be added to the routing table, and subsequent routes are discarded.