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%.
ip prefix-limit system threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value
undo ip prefix-limit system threshold-alarm
| Parameter | Description | Value |
|---|---|---|
| upper-limit upper-limit-value | Specifies the alarm threshold for the number of IPv4 route prefixes. |
The value is an integer ranging from 1 to 100. If
the value of upper-limit-value is 85, the alarm
threshold is 85%.
NOTE:
Set a value less than or equal to 95 for upper-limit-value. |
| lower-limit lower-limit-value | Specifies the clear alarm threshold for the number of IPv4 route prefixes. |
The value is an integer ranging from 1 to 100. If
the value of lower-limit-value is 55, the clear
alarm threshold is 55%.
NOTE:
lower-limit-value must be less than upper-limit-value. Set lower-limit-value to a value at least 10 less than upper-limit-value to prevent alarms from being frequently generated and cleared due to route flapping. |
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. The alarm informs users that an abnormality may exist and to take corrective actions.