An ACI fabric is run from a controller, the APIC, not switch by switch. A new switch announces itself, and stays out of service until you register it with a node ID. The APIC only finds what it can reach through switches already registered, so registration works outward: first the leaf next to the APIC, then the spine, then the other leaves.