Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

maximum-paths

Syntax

Hierarchy Level

Description

Configure a limit for the number of routes installed in a routing table based upon the route path.

Note:

The maximum-paths statement is similar to the maximum-prefixes statement. The maximum-prefixes statement limits the number of unique destinations in a routing instance. For example, suppose a routing instance has the following routes:

These are two routes, but only one destination (prefix). The maximum-paths limit applies the total number of routes (two). The maximum-prefixes limit applies to the total number of unique prefixes (one).

Local and direct routes are not considered as part of maximum-path and maximum-prefixes limits.

Options

log-interval seconds—(Optional) Minimum time interval (in seconds) between log messages.

  • Range: 5 through 86,400

log-only—(Optional) Sets the route limit as an advisory limit. An advisory limit triggers only a warning, and additional routes are not rejected.

path-limit—Maximum number of routes. If this limit is reached, a warning is triggered and additional routes are rejected.

  • Range: 1 through 4,294,967,295 (232 – 1)

  • Default: No default

threshold value—(Optional) Percentage of the maximum number of routes that starts triggering a warning. You can configure a percentage of the path-limit value that starts triggering the warnings.

  • Range: 1 through 100

Note:

When the number of routes reaches the threshold value, routes are still installed into the routing table while warning messages are sent. When the number of routes reaches the path-limit value, then additional routes are rejected.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.0.