Deployment Guide

25 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
7.1.1 S4048-ON BGP configuration
Use these commands to configure BGP. If OSPF is used, skip to section 7.1.2.
First, enable BGP with the router bgp ASN command. The ASN is from Figure 11.
The bgp bestpath as-path multipath-relax enables ECMP. The maximum-paths ebgp 2
command specifies the maximum number of parallel paths to a destination to add to the routing table. This
number should be equal to or greater than the number of spines, up to 64.
BGP neighbors are configured and fast fall-over is enabled.
BFD settings are configured to 100 millisecond send/receive intervals. The multiplier is the number of packets
that must be missed to declare a session down.
Finally, exit configuration mode and save the configuration with the end and write commands.
S4048-Leaf1
S4048-Leaf2
enable
configure
router bgp 64701
bgp bestpath as-path multipath-relax
maximum-paths ebgp 2
redistribute connected route-map
spine-leaf
bgp graceful-restart
neighbor spine-leaf peer-group
neighbor spine-leaf fall-over
neighbor spine-leaf advertisement-
interval 1
neighbor spine-leaf no shutdown
neighbor spine-leaf bfd
neighbor 192.168.1.0 remote-as 64601
neighbor 192.168.1.0 peer-group spine-
leaf
neighbor 192.168.1.0 no shutdown
neighbor 192.168.2.0 remote-as 64602
neighbor 192.168.2.0 peer-group spine-
leaf
neighbor 192.168.2.0 no shutdown
bfd all-neighbors interval 100 min_rx
100 multiplier 3 role active
end
write
enable
configure
router bgp 64702
bgp bestpath as-path multipath-relax
maximum-paths ebgp 2
redistribute connected route-map
spine-leaf
bgp graceful-restart
neighbor spine-leaf peer-group
neighbor spine-leaf fall-over
neighbor spine-leaf advertisement-
interval 1
neighbor spine-leaf no shutdown
neighbor spine-leaf bfd
neighbor 192.168.1.2 remote-as 64601
neighbor 192.168.1.2 peer-group spine-
leaf
neighbor 192.168.1.2 no shutdown
neighbor 192.168.2.2 remote-as 64602
neighbor 192.168.2.2 peer-group spine-
leaf
neighbor 192.168.2.2 no shutdown
bfd all-neighbors interval 100 min_rx
100 multiplier 3 role active
end
write