Deployment Guide
24 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.
S4048-Leaf1
S4048-Leaf2
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 enabled until BGP or OSPF is configured.
S4048-Leaf1
S4048-Leaf2
ecmp-group 1
interface fortyGigE 1/49
interface fortyGigE 1/50
link-bundle-monitor enable
ecmp-group 1
interface fortyGigE 1/49
interface fortyGigE 1/50
link-bundle-monitor enable
Configure UFD. This shuts the downstream interfaces if all uplinks fail. The hosts attached to the switch use
the remaining LACP port member to continue sending traffic across the fabric.
Finally, exit configuration mode and save the configuration.
S4048-Leaf1
S4048-Leaf2
uplink-state-group 1
description Disable downstream ports
in event all uplinks fail
downstream TenGigabitEthernet 1/1-1/48
upstream fortyGigE 1/49,1/50
end
write
uplink-state-group 1
description Disable downstream ports
in event all uplinks fail
downstream TenGigabitEthernet 1/1-1/48
upstream fortyGigE 1/49,1/50
end
write