Hi,
I think you can do that in the Web-UI. Check the pull down menu “Ports” → “deleted Ports” (between Service and Health Menu) and then purge deleted ports.
Hope it is that what you looking for.
@TheGracens thank you for your reply and sorry for my delay!
Unfortunately this is not the solution for me.
I know about the deleted ports (ports that existed on a device but now are no longer there), but my list is empty (actually right now there’s no “deleted” you could select from the “Ports” menu).
In my case I have ports that reference to devices that are no longer there… because I deleted the devices.
No clue how I managed that the ports assigned to these devices have not been deleted in this procedure…
So IMHO these leftover ports can only be removed manually in the database .
My question is, is it valid to just delete these ports as I described in my last post?
Or will I cause the next rouble through this?
From the database i created a list will all the port-IDs and dumped it into a file.
This file can be read by the script (with -f) and all the orphaned ports are purged.