
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2017 10:17 PM
We have a number of switches that where replaced by newer models.
The old switches have the status Non-active (stock) now. Some pc clients are now attached to the new switch as to the old switch according to the overview.
Is there a possibility to clear all the ports of a switch in LanSweeper?
We don’t want to remove the devices completely from LanSweeper.
We have tried the option “Remove Disconnected Devices”, this only removes the non-connected devices and some devices where still active in LanSweeper on the moment we removed the switches physically from the network.
The old switches have the status Non-active (stock) now. Some pc clients are now attached to the new switch as to the old switch according to the overview.
Is there a possibility to clear all the ports of a switch in LanSweeper?
We don’t want to remove the devices completely from LanSweeper.
We have tried the option “Remove Disconnected Devices”, this only removes the non-connected devices and some devices where still active in LanSweeper on the moment we removed the switches physically from the network.
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017 05:58 PM
The remove disconnected devices button will remove all port connections that are older than the last seen date of the switch. If you've decommissioned the switch, it is indeed possible that some connections are not getting purged when you hit the button if they were scanned the last time the switch was scanned.
The connections listed on asset pages have a visible date though, and are ordered from newest to oldest. The top one should be the currently active switch connection in almost all cases.
It is theoretically possible to purge all device connections for the disconnected switch in question though, using a database script. If you want to take that path, please send a mail into support@lansweeper.com and reference the forum post, we'll be able to provide you with a sample script.
The connections listed on asset pages have a visible date though, and are ordered from newest to oldest. The top one should be the currently active switch connection in almost all cases.
It is theoretically possible to purge all device connections for the disconnected switch in question though, using a database script. If you want to take that path, please send a mail into support@lansweeper.com and reference the forum post, we'll be able to provide you with a sample script.
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2017 08:50 AM
In our case the switch has the same “Last Date Seen” as the Ports.
Therefor we would like the purge script.
I will send you an email, for the script.
Therefor we would like the purge script.
I will send you an email, for the script.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017 05:58 PM
The remove disconnected devices button will remove all port connections that are older than the last seen date of the switch. If you've decommissioned the switch, it is indeed possible that some connections are not getting purged when you hit the button if they were scanned the last time the switch was scanned.
The connections listed on asset pages have a visible date though, and are ordered from newest to oldest. The top one should be the currently active switch connection in almost all cases.
It is theoretically possible to purge all device connections for the disconnected switch in question though, using a database script. If you want to take that path, please send a mail into support@lansweeper.com and reference the forum post, we'll be able to provide you with a sample script.
The connections listed on asset pages have a visible date though, and are ordered from newest to oldest. The top one should be the currently active switch connection in almost all cases.
It is theoretically possible to purge all device connections for the disconnected switch in question though, using a database script. If you want to take that path, please send a mail into support@lansweeper.com and reference the forum post, we'll be able to provide you with a sample script.
