Deployment Guide

41 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
Nexus5600-Spine1
Nexus5600-Spine2
neighbor 192.168.1.1 remote-as 64701
address-family ipv4 unicast
bfd
neighbor 192.168.1.3 remote-as 64702
address-family ipv4 unicast
bfd
neighbor 192.168.1.5 remote-as 64703
address-family ipv4 unicast
bfd
neighbor 192.168.1.7 remote-as 64704
address-family ipv4 unicast
bfd
end
copy running-config startup-config
neighbor 192.168.2.1 remote-as 64701
address-family ipv4 unicast
bfd
neighbor 192.168.2.3 remote-as 64702
address-family ipv4 unicast
bfd
neighbor 192.168.2.5 remote-as 64703
address-family ipv4 unicast
bfd
neighbor 192.168.2.7 remote-as 64704
address-family ipv4 unicast
bfd
end
copy running-config startup-config
8.1.2 Nexus 5600 series OSPF configuration
Use these commands to configure OSPF and BFD. Skip this section if BGP is used.
First, enable the OSPF and BFD features.
Note: After running the feature bfd command, the following message may be displayed:
Please disable the ICMP redirects on all interfaces running BFD sessions using
the command 'no ip redirects'. This is done in the subsequent commands.
OSPF is enabled with the router ospf process-tag command.
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.
Run the no ip redirects command on the interfaces that will run BFD. Add the interfaces connected to
the leaf switches to OSPF area 0. Enable BFD on the interfaces.
Finally, exit configuration mode and save the configuration with the end and copy running-config
startup-config commands.
Nexus5600-Spine1
Nexus5600-Spine2
enable
configure
feature ospf
feature bfd
router ospf 1
enable
configure
feature ospf
feature bfd
router ospf 1