Configure the Fabric

The following sample output configures a 3-stage Clos fabric:

(efa:user)user@dev-server:~$ efa fabric configure --name fab3
Validate Fabric [Success]
Configure Fabric [Success]
Please verify the fabric physical/underlay topology using 'efa fabric topology show {physical | underlay}' before attempting tenant configuration on the fabric.
--- Time Elapsed: 1m56.314230141s ---

After this command it will take around 1 minute to move to healthy as cluster health, bgp session states must get updated from device.

(efa:user)user@dev-server:~$ efa fabric show --name fab3

Fabric Name: fab3, Fabric Description: , Fabric Stage: 3, Fabric Type: clos, Fabric Status: configure-success, Fabric Health: healthy
+-------------+-----+-----------+-------+-------+--------------+-------------+-------------------+-----------------+---------+-------+
| IP ADDRESS  | POD | HOST NAME |  ASN  | ROLE  | DEVICE STATE |  APP STATE  | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+-------------+-----+-----------+-------+-------+--------------+-------------+-------------------+-----------------+---------+-------+
| 10.20.246.1 |     | NH-1      | 64512 | spine | provisioned  | cfg in-sync | NA                | NA              | NA      | 1     |
| 10.20.246.2 |     | NH-2      | 64512 | spine | provisioned  | cfg in-sync | NA                | NA              | NA      | 1     |
| 10.20.246.3 |     | NH-Leaf1  | 65002 | leaf  | provisioned  | cfg in-sync | NA                | NA              | 2       | 1     |
| 10.20.246.4 |     | NH-Leaf2  | 65002 | leaf  | provisioned  | cfg in-sync | NA                | NA              | 2       | 1     |
| 10.20.246.5 |     | NHF-Leaf1 | 65001 | leaf  | provisioned  | cfg in-sync | NA                | NA              | 2       | 1     |
| 10.20.246.6 |     | NHF-Leaf2 | 65001 | leaf  | provisioned  | cfg in-sync | NA                | NA              | 2       | 1     |
+-------------+-----+-----------+-------+-------+--------------+-------------+-------------------+-----------------+---------+-------+


Fabric health is healthy as all the child contributors are healthy


(efa:user)user@dev-server:~$ efa fabric health show --name fab3
===============================================================================================================================================================
Fabric Name                             :  fab3
Fabric Type                             :  clos
Fabric Health                           :  Green
 Fabric Status                          :  configure-success
 Fabric Level Physical Topology Health  :  Green
Fabric Device Health
+-------------+-------+---------------------+-------------------+---------------+
| IP ADDRESS  | ROLE  | CONFIG STATE HEALTH | OPER STATE HEALTH | DEVICE HEALTH |
+-------------+-------+---------------------+-------------------+---------------+
| 10.20.246.6 | Leaf  | Green               | Green             | Green         |
| 10.20.246.5 | Leaf  | Green               | Green             | Green         |
| 10.20.246.1 | Spine | Green               | Green             | Green         |
| 10.20.246.2 | Spine | Green               | Green             | Green         |
| 10.20.246.4 | Leaf  | Green               | Green             | Green         |
| 10.20.246.3 | Leaf  | Green               | Green             | Green         |
+-------------+-------+---------------------+-------------------+---------------+

===============================================================================================================================================================
--- Time Elapsed: 43.144657ms ---

(efa:user)user@dev-server:~$ efa fabric health show --name fab3 --detail
===============================================================================================================================================================
Fabric Name                              :  fab3
Fabric Type                              :  clos
Fabric Health                            :  Green
 Fabric Status                           :  configure-success
 Fabric Level Physical Topology Health   :  Green
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Fabric Device Health

 Device IP [Role]                       :  10.20.246.6 [Leaf]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Cluster Health                      :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.5 [Leaf]
  Device Health                         :  Green
  Configuration State Health            :  green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Cluster Health                      :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.1 [Spine]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.2 [Spine]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.4 [Leaf]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Cluster Health                      :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.3 [Leaf]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Cluster Health                      :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
---------------------------------------------------------------------------------------------------------------------------------------------------------------

===============================================================================================================================================================
--- Time Elapsed: 37.895545ms ---