Skip to main content
shahzeb
Staff
Staff
June 26, 2026

Troubleshooting Tip: Unable to add the switch back to the inventory after deleting

  • June 26, 2026
  • 0 replies
  • 14 views

Description

This article describes how to add a network device again to the network inventory when the GUI displays the error 'device with that IP already exist'.

Scope

FortiNAC or FortiNAC-F.

Solution

Symptoms:

After adding a network device to the inventory, it displays an error mentioning that the device with that specific IP already exist. However, there is no network device with that IP visible in the GUI.

The CLI also fails to display the device with the IP address.

Error example:

fortinac:~$ device -ip <switch-ip>
No devices found matching selection criteria


Solution:


Log in to the FortiNAC CLI and run the command:

execute db-shell
select name,id,type,description from ELEMENTS where request='<IP_ADDRESS>';


If the device exists in the database, run the command below to delete it.

delete from ELEMENTS where request ='<IP_ADDRESS>';


Note: Replace <IP_ADDRESS> with the actual IP address of the device.

After deleting the device from the database, try adding the new device to FortiNAC again.