Deployment Guide

31 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
7.2.2 Z9100-ON OSPF configuration
Use these commands to configure OSPF. Skip this section if BGP is used.
First, enable OSPF 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. 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.
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.
Z9100-Spine1
Z9100-Spine2
enable
configure
router ospf 1
log-adjacency-changes
network 192.168.1.0/31 area 0
network 192.168.1.2/31 area 0
network 192.168.1.4/31 area 0
network 192.168.1.6/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.2.0/31 area 0
network 192.168.2.2/31 area 0
network 192.168.2.4/31 area 0
network 192.168.2.6/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
7.3 Example 1 validation
In addition to sending traffic between hosts, the configuration shown in Figure 14 can be validated with the
commands shown in this section. For more information on commands and output, see the Command Line
Reference Guide for the applicable switch (links to documentation are provided in Appendix C).
Command and output examples are provided for one spine and one leaf. Command output on other switches
is similar.