Statement introduced in Junos OS Release 11.3.
path-selection-mode option and include-backup-path backup_path_num introduced in Junos OS Release 18.4R1 for the MX Series and PTX Series.
Enable advertisement and/or reception of multiple paths to a destination to/from the same BGP peer, instead of advertising/receiving only the active path to/from the same BGP peer.
The remaining statements are explained separately. See CLI Explorer.
The minimum configuration for the send side is add-path send path-count <n>. The configuration for the receive side is add-path send receive.
You cannot just configure add-path. You must configure at least one send/receive. (If you attempt to configure only add-path, it will fail.) If only send/receive is configured, the corresponding support is enabled: send for advertisement of add-path routes and receive for reception of add-path routes.
The effective rx/tx add-path state of a bgp-session depends on the addpath-capability advertisement from both the ends. That is, if R1 configures send, but R2 doesn't configure receive, then R1 will not send add-path to R2.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.