Pcornel
Networking · Architecture › Spine-Leaf

Leaf

Cheat sheet · https://pcornel.dk/topic.php?topic=816

Back to the Topic

Answer

A leaf switch connects servers, storage and services (or border devices) and uplinks to every spine; any two leaves are always two hops apart.

Remember

  • Leaf switches connect servers, storage and services, and uplink to every spine.
  • Leaves usually act as VTEPs in VXLAN fabrics.
  • Border leaves connect the fabric to external networks.

First checks

  • show lldp neighbors / show cdp neighbors — an uplink to every spine.
  • show bgp l2vpn evpn summary (or show ip ospf neighbor) — sessions to every spine.
  • show ip route <leaf-loopback> — ECMP paths via every spine.
  • show nve peers — VXLAN tunnels to other leaves.
  • show nve vni — VLAN-to-VNI mapping on host ports.

Verify in this order

uplink to every spine → underlay routing sessions up → ECMP to every other leaf → overlay (VXLAN/EVPN) peers up → host VLAN mapped to VNI → servers reach each other

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Leaf · architecture reference

PropertyLeaf reference
SouthboundEndpoints/services
NorthboundSpine uplinks
Policy/segmentationCommon attachment boundary
ResilienceMultiple spine paths

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=816

Confirmation

Confirm action

Continue?