Trigger DRC to Reconcile Cluster Config

The following sample output initiates DRC and reconciles cluster configuration:

efa fabric debug device drift --device-ip 10.20.246.5 --name fab3 --reconcile


Fabric Service Response:
Config Drift: Global Config
+-------------------------------+-------------+----------------+
|            CONFIG             |  APP STATE  | EXPECTED VALUE |
+-------------------------------+-------------+----------------+
| Mtu                           | cfg-in-sync | 9216           |
| IPMtu                         | cfg-in-sync | 9100           |
| AnycastMac                    | cfg-in-sync | 0201.0101.0101 |
| IPV6AnycastMac                | cfg-in-sync | 0201.0101.0102 |
| MacAgingConversationalTimeout | cfg-in-sync | 300            |
| MacAgingTimeout               | cfg-in-sync | 1800           |
| MacMoveLimit                  | cfg-in-sync | 20             |
| MacMoveDetect                 | cfg-in-sync | true           |
+-------------------------------+-------------+----------------+
Config Drift: EVPN
+------+-------------+---------------------------+
| NAME |  APP STATE  |       CHILD CONFIG        |
+------+-------------+---------------------------+
| fab3 | cfg-in-sync | SwEvpnName                |
| fab3 | cfg-in-sync | DuplicateMacTimerMaxCount |
| fab3 | cfg-in-sync | DuplicateMacTimer         |
| fab3 | cfg-in-sync | RouteTarget               |
| fab3 | cfg-in-sync | Rd                        |
+------+-------------+---------------------------+
Config Drift: Overlay Gateway
+------+-------------+------------------------+
| NAME |  APP STATE  |      CHILD CONFIG      |
+------+-------------+------------------------+
| fab3 | cfg-in-sync | SwOverlayGwName        |
| fab3 | cfg-in-sync | VtepLoopbackPortNumber |
| fab3 | cfg-in-sync | MapVniAuto             |
| fab3 | cfg-in-sync | Activate               |
+------+-------------+------------------------+
Config Drift: Cluster
+---------+---------------+--------------------------------+
|  NAME   |   APP STATE   |          CHILD CONFIG          |
+---------+---------------+--------------------------------+
| Cluster | cfg-refreshed | ClusterName                    |
| Cluster | cfg-refreshed | MCTPeerName::0:Port-channel:64 |
| Cluster | cfg-refreshed | ClusterKeepaliveAuto::0        |
+---------+---------------+--------------------------------+
Config Drift: Interface
+------+-------------+--------------+-----------------------------------+
| NAME |  APP STATE  |   INT TYPE   |           CHILD CONFIG            |
+------+-------------+--------------+-----------------------------------+
| 0/54 | cfg-in-sync | ethernet     | IP:0/54:ethernet:10.10.10.33/31   |
| 0/54 | cfg-in-sync | ethernet     | IPPimSparse:0/54:ethernet:false   |
| 0/54 | cfg-in-sync | ethernet     | BFD:0/54:ethernet:3:300:300       |
| 0/52 | cfg-in-sync | ethernet     | IP:0/52:ethernet:10.10.10.35/31   |
| 0/52 | cfg-in-sync | ethernet     | IPPimSparse:0/52:ethernet:false   |
| 0/52 | cfg-in-sync | ethernet     | BFD:0/52:ethernet:3:300:300       |
| 1    | cfg-in-sync | loopback     | IP:1:loopback:172.31.254.156/32   |
| 2    | cfg-in-sync | loopback     | IP:2:loopback:172.31.254.210/32   |
| 64   | cfg-in-sync | port-channel | IP:64:port-channel:10.20.20.15/31 |
+------+-------------+--------------+-----------------------------------+
Config Drift: Router BGP
+--------+-------------+-----------------------------------+
|  TYPE  |  APP STATE  |           CHILD CONFIG            |
+--------+-------------+-----------------------------------+
| Global | cfg-in-sync | BgpDynamicPeerListenLimit         |
| Global | cfg-in-sync | PeerGroupInfo                     |
| Global | cfg-in-sync | BgpNeighbor                       |
| Global | cfg-in-sync | BgpMCTBFDNeighbor                 |
| Global | cfg-in-sync | BgpMCTNeighbor                    |
| Global | cfg-in-sync | RouterID                          |
| Global | cfg-in-sync | LocalAsn                          |
| Global | cfg-in-sync | FastExternalFallOver              |
| Global | cfg-in-sync | CapabilityAs4Enable               |
| Global | cfg-in-sync | BfdMultiplier                     |
| Global | cfg-in-sync | BfdTx                             |
| Global | cfg-in-sync | BfdRx                             |
| Global | cfg-in-sync | BgpIPV4Network                    |
| Global | cfg-in-sync | BgpIPV4NetworkGracefulRestart     |
| Global | cfg-in-sync | BgpL2EVPNNetworkGracefulRestart   |
| Global | cfg-in-sync | BgpL2EVPNNetworkEnablePeerAsCheck |
| Global | cfg-in-sync | BgpL2EVPNNetworkEncapsulation     |
| Global | cfg-in-sync | BgpL2EVPNNetworkNextHopUnchanged  |
| Global | cfg-in-sync | BgpL2EVPNNetworkActivate          |
| Global | cfg-in-sync | BgpIPV4NetworkMaxPath             |
+--------+-------------+-----------------------------------+
+-------------+---------+-------+
| CONFIG TYPE | STATUS  | ERROR |
+-------------+---------+-------+
| MCT         | Success |       |
+-------------+---------+-------+



Wait for 1 minute to get updated status

(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: Green
+-------------+-----+-----------+-------+-------+--------------+-------------+-------------------+-----------------+---------+-------+
| 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     |
+-------------+-----+-----------+-------+-------+--------------+-------------+-------------------+-----------------+---------+-------+

CONFIG GEN REASON:
LA/LD - Link Add/Delete, IA/ID/IU - Interface Add/Delete/Update, PLC/PLD/PLU - IPPrefixList Create/Delete/Update
MD/MU - MCT Delete/Update, OD/OU - Overlay Gateway Delete/Update, EU/ED - Evpn Delete/Update, PC/PD/PU - RouterPim Create/Delete/Update
DD - Dependent Device Update, DA/DR - Device Add/ReAdd, ASN - Asn Update, SYS - System Properties Update
MD5 - BGP MD5 Password, BGPU - Router BGP Update, BGPLL - BGP Listen Limit, POU - Port Channel Update, NA - Not Applicable

PENDING CONFIGS:
MCT - MCT Cluster, O - Overlay Gateway, SYSP - System Properties, INTIP - Interface IP, BGP - Router BGP
C/D/U - Create/Delete/Update, PA/PD - Port Add/Port Delete

For App or Device Error/Failure reason, run "efa fabric error show" for details
For config refresh reason, run "efa fabric debug config-gen-reason" for details

--- Time Elapsed: 65.918511ms ---
(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: 37.887051ms ---



(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.954713ms ---