Identifies drift in device configuration.
You can also use the API to set up debug level and debug for the module.
This example identifies drift.
$ efa tenant debug device drift --device-ip 10.20.216.15 =============================================================================== Device : 10.20.216.15 Operation succeeded. --- Time Elapsed: 626.727571ms ---
This example reconciles the drifted configuration.
$ efa tenant debug device drift --device-ip 10.20.216.15 --reconcile ================================================================================ Device : 10.20.216.15 =============== VLAN Drift ================================= VLAN : 10 App-state : cfg-refreshed Drifted Interface +----------------+----------------+---------------+ | Interface-Type | Interface-Name | App-State | +----------------+----------------+---------------+ | ethernet | 0/11 | cfg-refreshed | +----------------+----------------+---------------+ =============== Interface Drift ============================ Drifted Interface +----------------+----------------+-------------+ | Interface-Type | Interface-Name | App-State | +----------------+----------------+-------------+ | ethernet | 0/11 | cfg-in-sync | +----------------+----------------+-------------+ =============== Reconciliation Status ================================= +---------------+---------+-------+ | CONFIG TYPE | STATUS | ERROR | +---------------+---------+-------+ | Port-Property | Success | | | Portchannel | Success | | | Vlan | Success | | +---------------+---------+-------+ Operation succeeded. --- Time Elapsed: 32.202412126s ---
This example synchronizes the tenant database with the inventory database.
$ efa tenant debug device config sync --device-ip 10.20.216.15 +--------------+------+-------+------------------------------------------------------+ | IP Address | Role | State | Result | +--------------+------+-------+------------------------------------------------------+ | 10.20.216.15 | Leaf | READY | Device 10.20.216.15 is already present in Tenant | | | | | DB with READY state | +--------------+------+-------+------------------------------------------------------+ Device Details --- Time Elapsed: 451.271557ms ---
This example sets the debug level.
$ efa tenant debug set --level debugdb Level debugdb set successfully. --- Time Elapsed: 116.43581ms ---