- maximum-prefixes prefix-limit <log-only | threshold value log-interval seconds>;
- [edit logical-systems logical-system-name routing-instances routing-instance-name routing-options],
- [edit logical-systems logical-system-name routing-options],
- [edit routing-instances routing-instance-name routing-options],
- [edit routing-options]
Statement introduced in JUNOS Release 8.0.
Configure a limit for the number of routes installed in a routing table based upon the route prefix.
prefix-limit—Maximum number of route prefixes. If this limit is reached, a warning is triggered and any additional routes are rejected.
log-only—(Optional) Sets the prefix limit as an advisory limit. An advisory limit triggers only a warning, and additional routes are not rejected.
log-interval seconds—(Optional) Minimum time interval (in seconds) between log messages.
threshold value—(Optional) Percentage of the maximum number of prefixes that starts triggering warning. You can configure a percentage of the prefix-limit value that starts triggering the warnings.
Note: When the number or routes reaches the threshold value, routes are still installed into the routing table while warning messages are sent. When the number or routes reaches the prefix-limit value, then additional routes are rejected.
See Configuring Route Limits for Routing Tables.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.