Deployment Guide

43 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
11 BGP AS-PATH entrie(s) using 110 bytes of memory
2 neighbor(s) using 16384 bytes of memory
Neighbor AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/Pfx
192.168.1.0 64601 54 58 0 0 0 00:47:30 5
192.168.2.0 64602 59 66 0 0 0 00:33:00 4
8.2.2 show ip ospf neighbor
When OSPF is configured, this command shows the state of all connected OSPF neighbors. In this
configuration, each spine has four neighbors (the four leafs) and each leaf has two neighbors (the two
spines).
Nexus5600-Spine1# show ip ospf neighbor
OSPF Process ID 1 VRF default
Total number of neighbors: 4
Neighbor ID Pri State Up Time Address Interface
10.0.2.1 1 FULL/DR 00:22:25 192.168.1.1 Eth2/1
10.0.2.2 1 FULL/DR 00:22:05 192.168.1.3 Eth2/2
10.0.2.3 1 FULL/DR 00:21:56 192.168.1.5 Eth2/3
10.0.2.4 1 FULL/DR 00:21:47 192.168.1.7 Eth2/4
S4048-Leaf1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface Area
10.0.1.1 1 FULL/BDR 00:00:33 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
Note: All neighbor states should be FULL. If a neighbor is stuck in EXSTART or EXCHANGE, there may be
an MTU setting mistmatch between the two connected interfaces.
8.2.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 best paths from Nexus5600-Spine1, one through each leaf.
Note: The first set of routes with a subnet mask of /32 are the IPs configured for router IDs.
Nexus5600-Spine1# show ip route bgp-64601
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>