send (add-path)
Syntax
send { include-backup-path include-backup-path; multipath; path-count path-count; path-selection-mode { (all-paths | equal-cost-paths); } prefix-policy [ policy-names ... ]; }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp group group-name family family family-modifier add-path], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address family family-modifier add-path], [edit logical-systems logical-system-name routing-instances name protocols bgp group group-name family family family-modifier add-path], [edit logical-systems logical-system-name routing-instances name protocols bgp group group-name neighbor address family family-modifier add-path], [edit logical-systems logical-system-name tenants name routing-instances name protocols bgp group group-name family family family-modifier add-path], [edit logical-systems logical-system-name tenants name routing-instances name protocols bgp group group-name neighbor address family family-modifier add-path], [edit protocols bgp group group-name family family-modifier add-path], [edit protocols bgp group group-name neighbor address family family-modifier add-path] [edit routing-instances name protocols bgp group group-name family family-modifier add-path], [edit routing-instances name protocols bgp group group-name neighbor address family family-modifier add-path] [edit tenants name routing-instances name protocols bgp group group-name family family-modifier add-path], [edit tenants name routing-instances name protocols bgp group group-name neighbor address family family-modifier add-path]
Description
Enable advertisement of multiple paths to a destination, instead of advertising only the active path.
On PTX1000 devices, the add-path
configuration statement is not
supported under routing instances.
Options
include-backup-path | Configure the number of backup paths that BGP must advertise. Do
not configure this option if you have configured
|
multipath | Restrict
BGP For example, if a routing device has four paths to a destination in its routing table and is configured to advertise up to two paths, only contributor paths for load balancing are chosen. The best contributor path is the active path and BGP advertises this path by default. The second best contributor path is selected and this process is repeated until the specified number of paths is reached; in this case, two additional paths to the same destination are selected for load balancing. |
path-count number | 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
(
|
path-selection-mode | Specify whether BGP can advertise all the available paths or only
the equal-cost paths. BGP can advertise up to 64 add-path routes and
a second best ECMP path as a backup in addition to the multiple ECMP
paths. You cannot configure both
|
prefix-policy policy-names | Specify the name of a policy (or a set of policies)
configured at the Prefix policies enable you to filter routes on a router that is configured to advertise multiple paths to a destination. Prefix policies can only match prefixes. They cannot match route attributes, and they cannot change the attributes of routes. The
|
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 11.3.
Support for range from 2 through 20 (for BGP) introduced in Junos OS Release 14.1.
multipath
option introduced in Junos OS Release 16.1R2.
Support for 64 BGP add-paths introduced in Junos OS Release 18.4R1 for the MX Series.
include-backup-path
and path-selection-mode
options
introduced in Junos OS Release 18.4R1 for the MX Series and PTX Series.