The following sample output configures two spine devices in a 3-stage Clos fabric:
(efa:user)user@dev-server:~$ efa fabric device add --role spine --ip 10.20.246.2 --name fab3
Inventory Device(s) Registration[success]
+----+-------------+-----------+-------+--------------+-------------------------------+
| ID | IP Address | Host Name | Model | Chassis Name | Firmware |
+----+-------------+-----------+-------+--------------+-------------------------------+
| 7 | 10.20.246.2 | NH-2 | 3012 | SLX9250-32C | 20.4.3slxos20.4.3_221117_0600 |
+----+-------------+-----------+-------+--------------+-------------------------------+
Device Details
Add Device(s) [Success]
Addition of Spine device with ip-address = 10.20.246.2 [Succeeded]
Validate Fabric [Failed]
No Leaf Devices
Error : fabric validation failed
Add device to fabric
(efa:user)user@dev-server:~$ efa fabric health show --name fab3
========================================================================================================
Fabric Name : fab3
Fabric Type : clos
Fabric Health : Red
Fabric Status : Green
Fabric Level Physical Topology Health : Red
Fabric Device Health
+-------------+-------+---------------------+-------------------+---------------+
| IP ADDRESS | ROLE | CONFIG STATE HEALTH | OPER STATE HEALTH | DEVICE HEALTH |
+-------------+-------+---------------------+-------------------+---------------+
| 10.20.246.1 | Spine | reg | Green | Red |
| 10.20.246.2 | Spine | Red | Green | Red |
+-------------+-------+---------------------+-------------------+---------------+
==========================================================================================================
--- Time Elapsed: 32.248825ms ---
(efa:user)user@dev-server:~$ efa fabric health show --name fab3 --detail
==========================================================================================================
Fabric Name : fab3
Fabric Type : clos
Fabric Health : Red
Fabric Status : Green
Fabric Level Physical Topology Health : Red
----------------------------------------------------------------------------------------------------------
Fabric level topology errors :
+---------------------+----------------+---------------+
| MISSING SUPERSPINES | MISSING SPINES | MISSING LEAFS |
+---------------------+----------------+---------------+
| true | false | true |
+---------------------+----------------+---------------+
----------------------------------------------------------------------------------------------------------
Fabric Device Health
Device IP [Role] : 10.20.246.1 [Spine]
Device Health : Red
Configuration State Health : Red
Dev State : not provisioned
App State : cfg ready
Operational State Health : Green
Physical Topology Device Health : Green
Underlay Topology Device Health : Green
--------------------------------------------------------
Device IP [Role] : 10.20.246.2 [Spine]
Device Health : Red
Configuration State Health : Red
Dev State : not provisioned
App State : cfg ready
Operational State Health : Green
Physical Topology Device Health : Green
Underlay Topology Device Health : Green
-----------------------------------------------------------------------------------------------------------