Leaf
Cheat sheet · https://pcornel.dk/topic.php?topic=816
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(orshow 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
| Property | Leaf reference |
|---|---|
| Southbound | Endpoints/services |
| Northbound | Spine uplinks |
| Policy/segmentation | Common attachment boundary |
| Resilience | Multiple 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