The Ethernet Segment That Stays Up After Its Leaf Goes Dark
An all-active EVPN multihoming pair works only if a leaf that has lost every spine uplink also takes down its server-facing links. If uplink tracking is missing on that leaf, LACP stays up toward the host, the host keeps hashing half its flows into a switch that cannot reach the fabric, and those flows are silently dropped until someone notices. Code review rarely catches it, because the problem is not a wrong line but a missing one, or a single plausible line that switches the protection off.
Why the diff looks clean
Reviewers check what they can see: the ESI value matches on both leaves, the LACP system ID matches, the VLAN to VNI mappings line up and the anycast gateway MAC is consistent. Uplink tracking sits somewhere else entirely. On some platforms it is a per-interface core-tracking statement, on others a link tracking group that ties upstream and downstream interfaces together, and on Junos it is core isolation, which is on by default until someone adds no-core-isolation. That last one is the usual way in. In a lab or a collapsed two-leaf design where the leaves only peer with each other, core isolation can shut down both sides at once, so an engineer disables it with a sensible commit message, the change goes into the template, and nobody reconsiders it when the template reaches a three-tier fabric.
What the failure actually looks like
Picture a leaf that loses its spine uplinks because of an optics batch problem, a line card reset or a fat-fingered shutdown during maintenance. Its BGP EVPN sessions drop, so the spines withdraw its Ethernet A-D and Ethernet Segment routes, and remote VTEPs correctly stop sending traffic to it. From the fabric's side, everything converged as designed. The server sees nothing, though: its bond members to that leaf are still up, LACP PDUs still arrive, and its transmit hash keeps sending a fixed share of flows to a switch with no route out. The return path is fine because remote leaves now send everything to the surviving peer, which makes the symptom asymmetric and intermittent per flow, and that is exactly why teams lose an hour to it every time. Recovery has the mirror problem: if the leaf brings server ports back before its EVPN routes are relearned, it blackholes traffic again, which is why the restore delay matters as much as the shutdown itself.
The decision rule: every interface carrying an ESI must be bound to an uplink tracking object on the same device, and the multihoming restore delay must be longer than the EVPN convergence time you have measured after a full leaf reload, with 180 s as a sane floor until you have that measurement.
A check you can run today
Start with a static lint over the rendered configs you already back up: for every device that has an ESI on any interface, fail the check if the device has no core-tracking or link tracking group covering both its uplinks and its ESI members, or if it contains no-core-isolation outside the two-leaf designs you have explicitly allowlisted. That is a grep and a small script, and it belongs in the same CI stage that renders the templates, so the next person to copy the lab override gets a red build instead of a midnight page. Then check the fabric's runtime state from a spine acting as route reflector: dump the Ethernet Segment routes (route type 4), group them by ESI and compare how many originators each ESI has against your inventory, which catches ESIs that one peer never advertised. Finally, prove the behaviour rather than infer it: in a drain window, shut the uplinks on one leaf of a pair and read /proc/net/bonding on a Linux host behind it, where the member facing that leaf should show as down within a few LACP intervals; if it still reports up, you have found the incident before production did. On a leaf with a few thousand MAC/IP routes, treat roughly a minute of post-reload convergence as a plausible estimate until the drill gives you a real number.
Technical FAQ: Why not just leave core isolation disabled and rely on LACP fast timers on the host?
Because LACP only reports that the link partner is alive, not that the partner can reach the fabric, so fast timers detect a dead switch quickly but never a leaf that has lost its uplinks. The tracking has to live on the leaf, and the cost you accept is that in small designs where the leaves peer only with each other you must handle the false isolation case explicitly, for example with a dedicated peer link or an allowlisted exception, instead of turning the protection off fleet-wide.