Deployment Guide
34 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
via 192.168.2.0
B EX 10.0.2.4/32 via 192.168.1.0 20/0 00:03:56
via 192.168.2.0
B EX 10.60.1.0/24 via 192.168.1.0 20/0 00:03:56
via 192.168.2.0
Note: The command show ip route <cr> can also be used to verify the information above as well as
static routes and direct connections.
7.3.4 show ip route ospf
On switches with OSPF configured, this command is used to verify the OSPF 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 ospf
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
O E2 10.0.1.2/32 via 192.168.1.3, Fo 1/2/1 110/20 16:46:28
via 192.168.1.5, Fo 1/3/1
O E2 10.0.2.1/32 via 192.168.1.1, Fo 1/1/1 110/20 17:20:59
O E2 10.0.2.2/32 via 192.168.1.3, Fo 1/2/1 110/20 17:20:59
O E2 10.0.2.3/32 via 192.168.1.5, Fo 1/3/1 110/20 17:20:59
O E2 10.0.2.4/32 via 192.168.1.7, Fo 1/4/1 110/20 17:20:59
O E2 10.60.1.0/24 via 192.168.1.5, Fo 1/3/1 110/20 16:46:28
via 192.168.1.7, Fo 1/4/1
O E2 172.16.1.0/24 via 192.168.1.1, Fo 1/1/1 110/20 16:46:28
via 192.168.1.3, Fo 1/2/1
O 192.168.2.0/31 via 192.168.1.1, Fo 1/1/1 110/2 17:20:59
O 192.168.2.2/31 via 192.168.1.3, Fo 1/2/1 110/2 17:20:59
O 192.168.2.4/31 via 192.168.1.5, Fo 1/3/1 110/2 17:20:59
O 192.168.2.6/31 via 192.168.1.7, Fo 1/4/1 110/2 17:20:59
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 OSPF
configuration is equal to or greater than the number of spines in the topology.
S4048-Leaf1#show ip route ospf
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
O E2 10.0.1.1/32 via 192.168.1.0, Fo 1/49 110/20 17:30:11
O E2 10.0.1.2/32 via 192.168.2.0, Fo 1/50 110/20 18:18:43
O E2 10.0.2.2/32 via 192.168.1.0, Fo 1/49 110/20 17:30:11
via 192.168.2.0, Fo 1/50
O E2 10.0.2.3/32 via 192.168.1.0, Fo 1/49 110/20 17:30:11