Statement introduced in Junos OS Release 11.3.
Support for range from 2 through 20 (for BGP) introduced in Junos OS Release 14.1.
Support for 64 BGP add-paths introduced in Junos OS Release 18.4R1 for the MX Series.
Specify the number of paths to a destination to advertise.
Suppose a routing device has in its routing table four paths to a destination and is configured to advertise up to three paths (add-path send path-count 3). The three paths are chosen based on path selection criteria. That is, the three best paths are chosen in path-selection order. The best path is the active path. This path is removed from consideration and a new best path is chosen. This process is repeated until the specified number of paths is reached.
number—Number of paths to a destination to advertise.
Range: 2 through 6
Range: 2 through 64 (for BGP)
This range is applicable only under prefix-policy add-path .
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.