efa tenant debug

Identifies drift in device configuration.

Syntax

efa tenant debug device drift [ --device-ip | --filter po | evpn | ovg | lif | bd | vlan | intf | ve | vrf | mct | routerbgp | pwprofile | all | --help| --reconcile ]
efa tenant debug set [ --level debug | info | debugdb | nodebugdb | --help]
efa tenant debug device config sync [ --device-ip ip-addr | --help ]

Parameters

--device-ip ip-addr
Specifies a comma-separated list of device IP addresses.
--filter po | evpn | ovg | lif | bd | vlan | intf | ve | vrf | mct | routerbgp | pwprofile | all
Filters the displayed draft data by the type of data you select. The default is all.
--level debug | info | debugdb | nodebugdb
Specifies the debug level.
--reconcile
Reconciles configuration on the device.
--help
Provides help for the command.

Usage Guidelines

You can also use the API to set up debug level and debug for the module.

Examples

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 ---