Deployment Guide

33 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
Neighbor ID Pri State Dead Time Address Interface Area
10.0.2.1 1 FULL/DR 00:00:32 192.168.1.1 Fo 1/1/1 0
10.0.2.2 1 FULL/DR 00:00:34 192.168.1.3 Fo 1/2/1 0
10.0.2.3 1 FULL/DR 00:00:35 192.168.1.5 Fo 1/3/1 0
10.0.2.4 1 FULL/DR 00:00:35 192.168.1.7 Fo 1/4/1 0
S4048-Leaf-1#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface Area
10.0.1.1 1 FULL/BDR 00:00:38 192.168.1.0 Fo 1/49 0
10.0.1.2 1 FULL/BDR 00:00:39 192.168.2.0 Fo 1/50 0
7.3.3 show ip route bgp
On switches with BGP configured, this command is used to verify the BGP entries in the Routing Information
Base (RIB). Entries with multiple paths shown are used with ECMP. The two server networks in this example,
10.60.1.0 and 172.16.1.0, each have two paths from Z9100-Spine1, one through each leaf.
The first set of routes with a subnet mask of /32 are the IPs configured for router IDs.
Z9100-Spine1#show ip route bgp
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
B EX 10.0.1.2/32 via 192.168.1.1 20/0 00:00:37
via 192.168.1.3
B EX 10.0.2.1/32 via 192.168.1.1 20/0 00:00:37
B EX 10.0.2.2/32 via 192.168.1.3 20/0 00:03:37
B EX 10.0.2.3/32 via 192.168.1.5 20/0 00:03:31
B EX 10.0.2.4/32 via 192.168.1.7 20/0 00:03:23
B EX 10.60.1.0/24 via 192.168.1.5 20/0 00:03:19
via 192.168.1.7
B EX 172.16.1.0/24 via 192.168.1.1 20/0 00:00:37
via 192.168.1.3
S4048-Leaf1 has two paths to all other leafs and two paths to Server 2’s network, 10.60.1.0. There is one
path through each spine. If all paths do not appear, make sure the maximum-paths statement in the BGP
configuration is equal to or greater than the number of spines in the topology.
S4048-Leaf1#show ip route bgp
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
B EX 10.0.1.1/32 via 192.168.1.0 20/0 00:03:56
B EX 10.0.1.2/32 via 192.168.2.0 20/0 00:07:02
B EX 10.0.2.2/32 via 192.168.1.0 20/0 00:03:56
via 192.168.2.0
B EX 10.0.2.3/32 via 192.168.1.0 20/0 00:03:56