BGP Equal cost multipath configuration syntax

In a BGP topology, when configuring BGP Equal cost multipath, the maximum-paths command is used. However, the syntax may differ depending upon the IOS version of the router you are using.

The command may be issued like so:

maximum-paths eibgp number-of-paths

AND

maximum-paths ibgp number-of-paths

where the first option enables multipath for both iBGP and eBGP, while the second enables it only for iBGP.

Alternative, some older versions of IOS may need it to be issued like so:

maximum-paths number-of-paths

AND

maximum-paths ibgp number-of-paths

where the first option enables multipath for both and eBGP, while the second enables it only for iBGP.

Links:

https://networklessons.com/cisco/ccie-routing-switching-written/bgp-multipath-load-sharing-ibgp-and-ebgp

https://forum.networklessons.com/t/bgp-multipath-load-sharing-ibgp-and-ebgp/3275/34?u=lagapides

https://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp3.html#wp1104794