
A Cumulus leaf is four devices in one: the server's default gateway, the
tenant front door, a route-reflector client, and an automated node. A switchd
restart interrupts all four at once — and the recovery clock runs per job.
Job one: the first-hop router
Every server rack has a default gateway. On a Cumulus leaf that gateway is a
VLAN or VRF interface on the switch, and the route to the rest of the fabric is
a BGP next hop.
When switchd restarts, the switch reprograms its ports and tables. The
server's link may bounce; ARP and neighbour entries are relearned; the leaf's
BGP sessions to its spines drop because the interfaces and the CPU path to
peers go away. For the servers, the gateway briefly stops answering. For the
fabric, the leaf stops advertising every prefix behind it.
Recovery for this job is local and fast: links return, ARP re-resolves, BGP
re-establishes — seconds to a couple of minutes.
Job two: the tenant front door
An EVPN/VXLAN leaf advertises tenant MAC addresses and IP prefixes into BGP.
The VXLAN data plane depends on the underlay being converged and on the leaf
having a valid route to every remote VTEP.
A restart breaks that in both directions. The leaf withdraws its tenant routes;
remote leaves withdraw their paths to it. Traffic between tenants is dropped or
rerouted while the control plane reconverges. If the leaf hosts a tenant's only
gateway, that tenant is offline — not degraded, offline.
This is where the 23 minutes starts to bite. EVPN convergence is not one BGP
session; it is every tenant route, every remote VTEP, and every MAC/IP
advertisement that has to be re-exchanged and reprogrammed into hardware.
Job three: the route-reflector client
Most Cumulus fabrics use route reflectors rather than a full iBGP mesh. A leaf
is a client of two or more reflectors; a spine may itself be a reflector.
From the leaf's side, a restart resets its client sessions. From the
reflector's side, it sees a client reset and withdraws that client's routes to
every other client. If the leaf is itself a reflector, the blast radius
inverts: every client loses its route source at once.
The corpus's chain notes this explicitly: a single misbehaving leaf can cause
route damping at the reflector to hold its prefixes down longer than the
outage itself. That is the amplification step, and part 9 treats damping as
part of the failure chain rather than a separate topic.
Job four: the automated node
Cumulus is managed by automation: NVUE, Ansible, a Git pipeline. The same
template that makes the fleet consistent makes the failure consistent.
An automation run that commits during the restart window can race the recovery.
A statistics poll that walks every interface adds load while switchd is
reinitialising. A health check that only tests BGP established-state can
declare the switch healthy while its FIB is still being rebuilt. None of these
cause #5376361, but all of them lengthen the outage or hide it.
What 23 minutes means per job
| Job | What stops | What the user sees |
|---|---|---|
| First-hop routing | Gateway replies, local BGP sessions | Servers lose their default gateway; ARP storms; new flows fail |
| EVPN tenant front door | Tenant routes, remote VTEP paths | Cross-fabric tenant traffic drops; single-gateway tenants go offline |
| Route reflection | Client sessions, reflected prefixes | Every client behind the reflector loses routes simultaneously |
Twenty-three minutes is an average, not a worst case. It is daemon restart,
ASIC reinitialisation, port and neighbour recovery, BGP re-establishment,
full-table exchange, best-path selection, FIB programming and the peers' own
reconvergence. Any stage can be slower on a large table or a busy reflector.
Why this shapes the remediation
You cannot make a switchd restart cheap from the outside. You can make it
rarer, bound its blast radius, detect it faster, and stop damping from
amplifying it. That is the whole mitigation space for a closed-source daemon.

Next: Part 4 — why whitebox wins until it doesn't: Cumulus against EOS,
NX-OS, Junos and SONiC, and the integration risk you take on.

Comments (0)