Deployment Guide

30 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
7.2.1 Z9100-ON BGP configuration
Use these commands to configure BGP. If OSPF is used, skip to section 7.2.2.
First, enabled 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. In this
topology, there are two equal cost best paths from a spine to a host, one to each leaf that the host is
connected.
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.
Z9100-Spine1
Z9100-Spine2
enable
configure
router bgp 64601
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.1 remote-as 64701
neighbor 192.168.1.1 peer-group spine-
leaf
neighbor 192.168.1.1 no shutdown
neighbor 192.168.1.3 remote-as 64702
neighbor 192.168.1.3 peer-group spine-
leaf
neighbor 192.168.1.3 no shutdown
neighbor 192.168.1.5 remote-as 64703
neighbor 192.168.1.5 peer-group spine-
leaf
neighbor 192.168.1.5 no shutdown
neighbor 192.168.1.7 remote-as 64704
neighbor 192.168.1.7 peer-group spine-
leaf
neighbor 192.168.1.7 no shutdown
bfd all-neighbors interval 100 min_rx
100 multiplier 3 role active
end
write
enable
configure
router bgp 64602
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.2.1 remote-as 64701
neighbor 192.168.2.1 peer-group spine-
leaf
neighbor 192.168.2.1 no shutdown
neighbor 192.168.2.3 remote-as 64702
neighbor 192.168.2.3 peer-group spine-
leaf
neighbor 192.168.2.3 no shutdown
neighbor 192.168.2.5 remote-as 64703
neighbor 192.168.2.5 peer-group spine-
leaf
neighbor 192.168.2.5 no shutdown
neighbor 192.168.2.7 remote-as 64704
neighbor 192.168.2.7 peer-group spine-
leaf
neighbor 192.168.2.7 no shutdown
bfd all-neighbors interval 100 min_rx
100 multiplier 3 role active
end
write