Community discussions

MikroTik App
 
mducharme
Trainer
Trainer
Topic Author
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 1:30 am

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!
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1286
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 7:36 am

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.
 
mducharme
Trainer
Trainer
Topic Author
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 7:39 am

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.
Last edited by mducharme on Thu Sep 15, 2016 7:53 am, edited 1 time in total.
 
mducharme
Trainer
Trainer
Topic Author
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 7:40 am

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.
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1286
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 4:30 pm

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
Last edited by IntrusDave on Thu Sep 15, 2016 5:23 pm, edited 1 time in total.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 5:17 pm

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)
 
mducharme
Trainer
Trainer
Topic Author
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Thu Sep 15, 2016 6:54 pm

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.
 
Megaboriss
just joined
Posts: 8
Joined: Mon Sep 03, 2018 6:31 pm

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Mon Oct 08, 2018 1:46 pm

Was this ever solved? The problem still exist with Mikrotiks
 
SupermanSC
just joined
Posts: 7
Joined: Tue Feb 18, 2020 5:15 pm

Re: Mikrotik equivalent to Cisco "bandwidth" command?

Fri Mar 20, 2020 1:45 am

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?

Who is online

Users browsing this forum: akakua, CGGXANNX, sk0003 and 37 guests