Clearing FDB tables on D-Link DGS-3100 from CRON

In 2013, I came up with a primitive solution to the problem with the D-Link DGS-3100 switch, which with an average load can often stop passing traffic through itself.

This problem was once massively discussed at the D-Link forum, the solution of which I did not see. Therefore, we replaced the DGS-3100 with a DGS-3120, and put the DGS-3100 on nodes with a low load, and there are no problems with a low load there, even in 2020 I still have three DGS-3100s working.

Create a file with the contents:

snmpset -v2c -c public . i 7

Let’s make it executable:

chmod +x /home/username/

Write in /etc/crontab:

*/30 * * * * root /home/username/ > /dev/null 2>&1

As a result, cron runs a script every 30 minutes from which an OID is sent via SNMP to clear MAC address table on the switch.

Leave a comment

Leave a Reply