zstpozi
October 13, 2025, 10:51am
1
I’m migrating from ROS 6.x to 7.x and we are heavily using this SNMP branch on our routers, however, 7.x seems to be missing this SNMP branch.
iso.3.6.1.2.1.4.21.1 = No Such Object available on this agent at this OID
only iso.3.6.1.2.1.4.24.4 looks available which has a totally different format.
Is it possible to get the 21.1 working or should we somehow migrate to 24.4?
pe1chl
October 13, 2025, 12:36pm
2
It is always helpful when you mention what you are looking for, instead of only numeric OID…
zstpozi
October 13, 2025, 12:56pm
3
I’m looking for the ifindex of the default route. Sadly it’s 0 in 7.x, and it’s completely unusable. I found a hard workaround from other oids, but I don’t want to implement it, if it’s not really neccessary.
Maybe easier to ask support ?
pe1chl
October 13, 2025, 1:09pm
5
Getting the route table info using SNMP is flaky in RouterOS. Sometimes they fix issues, only for them to come back later.
I have changed to using API for it, but I understand you do not want to do it.
1 Like
tbh, that was my 2nd idea and with 5 minutes of chatgpt I managed to read it via API, so I will probably retire snmp:)