You can configure BGP to select multiple non-multihop EBGP or IBGP paths as active paths. Selecting multiple paths allows BGP peerings to load-balance traffic across an AS-confederation boundary. The JUNOS BGP multipath supports the following:
- Load-balancing across multiple links between two routers belonging to different ASs
- Load-balancing across a common subnet or multiple subnets to different routers belonging to the same peer AS
- Load-balancing across multiple links between two routers belonging to different external confederation peers
- Load-balancing across a common subnet or multiple subnets to different routers belonging to external confederation peers
To configure a BGP multipath, include the
multipathstatement:multipath {multiple-as;}To disable the default check requiring that paths accepted by BGP multipath must have the same neighboring AS, include the
multiple-asoption.For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.