Deployment Guide

40 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
Nexus5600-Spine1
Nexus5600-Spine2
interface loopback 0
description Router ID
ip address 10.0.1.1/32
no shutdown
end
copy running-config startup-config
interface loopback 0
description Router ID
ip address 10.0.1.2/32
no shutdown
end
copy running-config startup-config
8.1.1 Nexus 5600 series BGP configuration
Use these commands to configure BGP and BFD. If OSPF is used, skip to Section 8.1.2.
First, enable the BGP and BFD features.
Note: After running the command feature bfd, the message Please disable the ICMP
redirects on all interfaces running BFD sessions using the command 'no ip
redirects' may be displayed. This is done in the subsequent commands.
Run the no ip redirects command on the interfaces that will run BFD.
BGP is enabled with the router bgp ASN command. The ASN is from Figure 11.
The bestpath as-path multipath-relax command enables ECMP. The maximum-paths 2
command 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.
BGP neighbors are configured and BFD is enabled for each neighbor connection.
Finally, exit configuration mode and save the configuration with the end and copy running-config
startup-config commands.
Note: On Nexus 5600 series switches, BGP graceful-restart, fast-external-fallover and BFD interval
commands are configured by default.
Nexus5600-Spine1
Nexus5600-Spine2
enable
configure
feature bgp
feature bfd
interface ethernet 2/1-4
no ip redirects
router bgp 64601
bestpath as-path multipath-relax
address-family ipv4 unicast
maximum-paths 2
enable
configure
feature bgp
feature bfd
interface ethernet 2/1-4
no ip redirects
router bgp 64602
bestpath as-path multipath-relax
address-family ipv4 unicast
maximum-paths 2