NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ThiloKoettgen
May 30, 2022Tutor
GS110 TP V3 port restart over SNMP
Hello all, is there a way to switch a network port of the GS110Tp off and on again via snmp or to restart it? By way of background, one of the SFP modules occasionally hangs and we would like to re...
schumaku
May 30, 2022Guru - Experienced User
All Smart Managed Pro switches support at least the standard SNMP features, so look into SNMP IF-MIB aka. ifMIB (1.3.6.1.2.1.31), IF-MIB::ifAdminStatus is writable. In NET-SNMP:
Interface up:
snmpset -v2 -c community hostname IF-MIB::ifAdminStatus.interface i 1
Interface down:
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 1.3.6.1.2.1.2.2.1.2 (when I have it right) to find the interface values and descriptions.
No idea if this does bring the SFP module down and up as you expect.
- ThiloKoettgenJun 01, 2022Tutor
Hello Schumaku,
I'm sorry to get back to you so late, but I forgot to activate the email notification for replies. Thank you for your efforts.
In the meantime, we have also found a solution.
The OID 1.3.6.1.2.1.2.1.7.(X) (X)=number of the port switch the state of the port up(1) down(2) . The SFP module is also reset when it is switched off, at least that is how it appears 🙂
However, we noticed that the saved configuration is reloaded after a reboot. This means that if I deactivate the port via SNMP and restart the device, the port is activated again.
- ThiloKoettgenNov 23, 2022Tutor
Small correction the correct OID is 1.3.6.1.2.1.2.2.1.7.(X)
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!