TP324TP and GS324TP- Controlling the switch via software
I'm a software engineer and I want to develop a software to enable/disable port(s) on my switch.
I've tried to user a TCP socket on the GS324TP which seems to disable the web server....
Also, for the TP324TP, is there a way to controle the ports on it ?
Re: TP324TP and GS324TP- Controlling the switch via software
All Smart Managed Pro switches support at least the standard SNMP features, so look into SNMP IF-MIB aka. ifMIB (220.127.116.11.2.1.31), IF-MIB::ifAdminStatus is writable. In NET-SNMP:
snmpset -v2 -c community hostname IF-MIB::ifAdminStatus.interface i 1
snmpset -v2 -c community hostname IF-MIB::ifAdminStatus.interface i 2
The 'interface' is a digit that representing the interface. The value is available in the same MIB- do a walk on 18.104.22.168.22.214.171.124.1.2 (when I have it right) to find the interface values and descriptions.
What is an TP324TP?