Hello guys,
I am creating a management application for managing multiple MikroTik routers. As this is for a school project, i need to do research and have to substantiate my choices. I have already done my research on the API that RouterOS exposes. But i also have to take a look at SNMP.
I have read the wiki about configuring SNMP, and i decided to try SNMPv3 as it is most secure. Now as documented, there is support for write access. I configured everything as it is described, with a custom community with write access.
I can read any OID with an MIB browser and the right user credentials.
In the wiki there are only 3 functions described that can be used with the SNMP SET command:
- Identity
- Reboot
- Run script.
My question is: are these the only 3 functions that can be changed with SNMP SET? Because when i try to use SET on “.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifMtu.3” which is the MTU of interface 3 (I just picked out a random option to test it with), it is send to the router successfully, the logs say the system has changed but nothing happens.
The new value isn’t set and the router gives no response. Are the 3 functions described on the wiki the only 3 that can be changed with SNMP SET? Or am i overlooking something?
EDIT:
I tried it with PHP. I get a ‘1’ returned as i use the SNMP SET on the same interface MTU function, which indicates a succes. Still nothing has changed though.
I hope you guys can clear things up for me.
Cheers!