You can replace a device when the configuration on the old device does not match the configuration on the new device.
efa fabric device remove –name <Fabric name> --ip <IP address of the device>
dca fabric device add-bulk –name <Fabric name> --leaf <IP address of the device if it is a leaf> --spine <IP address of the device if it is a spine> --super-spine <IP address of the device if it is a super spine>
efa fabric show
efa fabric error show
efa fabric debug config-gen-reason
efa fabric configure -name <Fabric name>