Page 1 of 1
Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 1:30 am
by mducharme
Hello,
We have a problem where Mikrotik is reporting "10Mbps" as the maximum speed for any tunnel interfaces via SNMP, and our NMS creates tickets if bandwidth exceeds 90% of this (therefore, any tunnel going up above 9Mbps usage causes a ticket to be generated because our NMS thinks the maximum is 10Mbps because that's what Mikrotik is reporting).
Cisco has the "bandwidth" command which allows us to alter the value that the router reports to the NMS via SNMP as the speed of the tunnel interface. How can I accomplish this with Mikrotik? Or at least maybe increase the default reported from 10Mbps to 100Mbps? 10Mbps is too low these days as a maximum bandwidth for a tunnel.
Thanks!
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 7:36 am
by IntrusDave
This is something you will need to change in your NMS.
Most will be able to have and interface's bandwidth manually set to correct for this.
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 7:39 am
by mducharme
This is something you will need to change in your NMS.
Most will be able to have and interface's bandwidth manually set to correct for this.
The NMS has no option to do this, so this is not a satisfactory option. It uses the bandwidth pulled via SNMP, with no option for manual setting. If I edit the database manually and change it, it will change it back next time it polls the interface list from the device, because it trusts what the device has given it.
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 7:40 am
by mducharme
What I *can* do is selectively turn off the alert for individual interfaces with an override, but then I have to manually go through every tunnel that might reach a speed higher than 9Mbps and turn off the alert. However this override will get removed in the case of a PPPoE customer if they are down when the NMS gets an updated list of interfaces from the router, because then the interface and override will be removed. Then, once the user comes back online again, the alert will be recreated and the override have to be done again.
We have about 50 routers.
So, basically, it is not a viable option to fix this on the NMS side.
This *has* to be an trivial fix for MikroTik, if it doesn't support this - it's just the value reported via SNMP. I don't care too much if there would be an option added, it's not a big deal - at least increase the default speed for a tunnel interface to something more than 10 megabits.
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 4:30 pm
by IntrusDave
What MNS are you using? I've never seen one that couldn't correct for this, as it is very common for VPN tunnels to report 10mbps
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 5:17 pm
by ZeroByte
It would be nice if MT were to incorporate this feature for other reasons as well - OSPF auto cost comes immediately to my mind.
(the manual cost setting in MT always seemed "bobo" to me)
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Thu Sep 15, 2016 6:54 pm
by mducharme
What MNS are you using? I've never seen one that couldn't correct for this, as it is very common for VPN tunnels to report 10mbps
Zenoss. We have been using it for years, no intention to change it. It pulls the list of interfaces from the device via SNMP with all the details on them every ~12 hours. Whatever has changed on the interface (the maximum speed, administrative status value, speed/duplex, description/comments, etc.) it automatically updates its database with those details. Those are read only fields in the web UI since, if they could allow users to edit them, they would get changed back the next 12 hour cycle.
Zenoss doesn't have to correct for this issue because with Cisco routers there is the 'bandwidth' command that takes care of this. Actually, Cisco routers report by default a bandwidth of 1Kbps (!) for a tunnel interface and you use the bandwidth command to set a more reasonable maximum for that tunnel.
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Mon Oct 08, 2018 1:46 pm
by Megaboriss
Was this ever solved? The problem still exist with Mikrotiks
Re: Mikrotik equivalent to Cisco "bandwidth" command?
Posted: Fri Mar 20, 2020 1:45 am
by SupermanSC
2020 and same issue. We use LibreNMS and it auto-polls the interface speed which reports back as 10mbps. Mikrotik, can we please get the ability to set a manual interface speed based on the capacity of a tunnel?