Requirment :
How to configure EBGP load banlance
Example:
Leaf1 , leaf2, Spine and server they are running EBGP. Spine to server will running load-balance,How to configure on Spine device. Lea1 and leaf2 AS is diffirent.
bgp 100
peer x.x.x.1 as-number xxx
peer x.x.x.2 as-number xxx
ipv4-faimly unicast
maximum load-balancing ebgp 2
load-balancing as-path-ignore
peer x.x.x.1 enable
peer x.x.x.2 enable
Below link is for your reference: