Deployment Guide

26 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
7.1.2 S4048-ON OSPF configuration
Use these commands to configure OSPF. Skip this section if BGP is used.
First, enable OSPF is enabled with the router ospf process-id command (valid range is 1-65535).
Add the connected networks to OSPF area 0.
The maximum-paths 2 command enables ECMP and 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.
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 ospf 1
log-adjacency-changes
network 192.168.1.0/31 area 0
network 192.168.2.0/31 area 0
maximum-paths 2
redistribute connected route-map
spine-leaf
bfd all-neighbors interval 100 min_rx
100 multiplier 3 role active
end
write
enable
configure
router ospf 1
log-adjacency-changes
network 192.168.1.2/31 area 0
network 192.168.2.2/31 area 0
maximum-paths 2
redistribute connected route-map
spine-leaf
bfd all-neighbors interval 100 min_rx
100 multiplier 3 role active
end
write