cancel
Showing results for 
Search instead for 
Did you mean: 

EFA snmp host config with app state cfg-entry-deleted

EFA snmp host config with app state cfg-entry-deleted

b00d
New Contributor

Hi

Our EFA is reporting a config drift on some extreme switches at the snmp host config part.
When checking the drift, it's a snmp host which has been deleted on the switch.
On almost all switches, this could be solved by executing the EFA command to delete the snmp host.

But there are a few less switches where this isn't possible:

(efa:extreme)extreme@tpvm2-lss04m:~$ efa inventory device snmp host list --ip 10.99.99.74
+--------------+--------------+-----------+-----------------------------+-------------+-----------------+-----------------------+----------+----------+----------+-------------------+
|  IP Address  |   Host IP    |   User    |          Community          | Notify Type | Remote EngineID |   Source Interface    |   Vrf    | UDP port | Severity |     AppState      |
+--------------+--------------+-----------+-----------------------------+-------------+-----------------+-----------------------+----------+----------+----------+-------------------+
| 10.99.99.74  | 10.99.99.15  | efav3User |                             | traps       |                 | management chassis-ip | mgmt-vrf | 162      | None     | cfg-not-managed   |
+--------------+--------------+-----------+-----------------------------+-------------+-----------------+-----------------------+----------+----------+----------+-------------------+
| 10.99.99.74  | 10.99.99.10  |           | ***censored***              | traps       |                 | management chassis-ip | mgmt-vrf | 162      | None     | cfg-entry-deleted |
+--------------+--------------+-----------+-----------------------------+-------------+-----------------+-----------------------+----------+----------+----------+-------------------+
| 10.99.99.74  | 10.99.99.30  |           | ***censored***              | traps       |                 | management chassis-ip | mgmt-vrf | 162      | None     | cfg-not-managed   |
+--------------+--------------+-----------+-----------------------------+-------------+-----------------+-----------------------+----------+----------+----------+-------------------+
Snmp host details
--- Time Elapsed: 115.241145ms ---
(efa:extreme)extreme@tpvm2-lss04m:~$ efa inventory device snmp host delete --ip 10.99.99.74 --host-ip 10.99.99.10 --community '***censored***'
+--------------+--------------+--------+-----------------------------------------------------------------+
|  IP Address  |   Host IP    | Status |                             Reason                              |
+--------------+--------------+--------+-----------------------------------------------------------------+
| 10.99.99.74  | 10.99.99.10  | Failed | Snmp host 10.99.99.10 with community:                           |
|              |              |        | ***censored***              get from DB failed on device        |
|              |              |        | 10.99.99.74. Error: Snmp Host for Device Id: 19 hostIP:         |
|              |              |        | 10.99.99.10 not found                                           |
+--------------+--------------+--------+-----------------------------------------------------------------+
Snmp host details
--- Time Elapsed: 5.7476751s --- 

If i create a new entry for snmp host 10.99.99.10 from EFA to the switch, a second one is created which is "cfg-in-sync". And sending the snmp host delete command after ceration, the "cfg-in-sync" entry disappears, but never the one which has app-state "cfg-entry-deleted".

How can we get rid of this "cfg-entry-deleted" snmp host?

 

1 REPLY 1

Balaji
Extreme Employee

When the app state of an entity is marked as cfg-entry-deleted, it indicates that the configuration entry has been removed and will be reconciled as part of the Drift and Reconcile (DRC) process. Try to run the DRC with --reconcile option to fix this.

efa inventory drift-reconcile execute --ip=10.99.99.74 - this command will tell you the Drift in configuration 

efa inventory drift-reconcile execute --ip=10.99.99.74 --reconcile - this command will make the changes. 

GTM-P2G8KFN