The ip prefix-limit system threshold-alarm command configures thresholds (one alarm threshold and one clear alarm threshold) for the number of IPv4 route prefixes on a device.
The undo ip prefix-limit system threshold-alarm command restores the default configuration.
By default, the alarm threshold for IPv4 route prefixes is 80%, and the clear alarm threshold for IPv4 route prefixes is 70%.
Parameter | Description | Value |
---|---|---|
lower-limit lower-limit-value |
Specifies the clear alarm threshold for the number of IPv4 route prefixes. |
The value is a percent integer ranging from 1 to 100. lowerlimit-percent must be less than upperlimit-percent. Set lowerlimit-percent to a value at least 10 less than upperlimit-percent to prevent alarms from being frequently generated and cleared due to route flapping. |
upper-limit upper-limit-value |
Specifies the alarm threshold for the number of IPv4 route prefixes. |
The value is a percent integer ranging from 1 to 100. Set a value less than or equal to 95 for upperlimit-percent. |
Usage Scenario
The number of IPv4 route prefixes that can be added to a routing table is limited. If the number exceeds the limit, new prefixes cannot be added to the routing table, which may interrupt services. To address this problem, configure an alarm threshold for the number of IPv4 route prefixes.
You can run the ip prefix-limit system threshold-alarm command to configure the two thresholds based on service requirements.Precautions
The ip prefix-limit system threshold-alarm command can configure only two thresholds. An alarm is generated only when the following two conditions are met: