Deployment Guide

29 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
Configure a route map and IP prefix-list to redistribute all loopback addresses and leaf networks via BGP or
OSPF.
The command seq 10 permit 10.0.0.0/8 ge 24 includes all addresses in the 10.0.0.0/8 address
range with a mask greater than or equal to 24. This includes all loopback addresses used as router IDs as
well as the 10.60.1.0/24 network used on Leafs 3 and 4 as shown in Figure 14.
The command seq 20 permit 172.16.0.0/16 ge 24 includes the 172.16.1.0/24 network used on
Leafs 1 and 2 as shown in Figure 14.
Z9100-Spine1
Z9100-Spine2
route-map spine-leaf permit 10
match ip address spine-leaf
ip prefix-list spine-leaf
description Redistribute loopback and
leaf networks
seq 10 permit 10.0.0.0/8 ge 24
seq 20 permit 172.16.0.0/16 ge 24
route-map spine-leaf permit 10
match ip address spine-leaf
ip prefix-list spine-leaf
description Redistribute loopback and
leaf networks
seq 10 permit 10.0.0.0/8 ge 24
seq 20 permit 172.16.0.0/16 ge 24
Include the point-to-point interfaces to each leaf pair in an ECMP group. Enable link bundle monitoring to
report when traffic is unevenly distributed across multiple links.
Note: ECMP is not actually enabled until BGP or OSPF is configured.
Finally, exit configuration mode and save the configuration with the end and write commands.
Z9100-Spine1
Z9100-Spine2
ecmp-group 1
interface fortyGigE 1/1/1
interface fortyGigE 1/2/1
link-bundle-monitor enable
ecmp-group 2
interface fortyGigE 1/3/1
interface fortyGigE 1/4/1
link-bundle-monitor enable
end
write
ecmp-group 1
interface fortyGigE 1/1/1
interface fortyGigE 1/2/1
link-bundle-monitor enable
ecmp-group 2
interface fortyGigE 1/3/1
interface fortyGigE 1/4/1
link-bundle-monitor enable
end
write