cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
631
Views
0
Helpful
1
Replies

Meraki API getNetworkApplianceTrafficShapingUplinkBandwidth?

Hi all,

 

I'm wondering if there is any way to determine the dimension/order of the values that are returned by the Meraki API getNetworkApplianceTrafficShapingUplinkBandwidth function?

 

The documentation of the function doesn't mention anything about the numbers returned:

https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-traffic-shaping-uplink-bandwidth

Are these bits, bytes, megabits, megabytes, who knows, the numbers seem quite low compared to the actual bandwidth utilization so i'm guessing kilo's or mega's are involved and also it may be bytes rather than bits, but it's impossible to tell as it's undocumented.

 

If you have a look at this function, you will notice that it nicely says the meaning of the numbers that are returned, i.e. they're in the order of bytes.

https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history

 

Since the dimensions here are known i can calculate the averabe bandwidth usage over the given time period so i can get to a number of bits per second.

Having the order of the numbers of the traffic shaping function (and if configured correct for our purpose) i could calculate the average utilization percentage of the uplink ports with that.

The purpose here is that we have hundreds of different models of MX devices with different uplink bandwidth capabilities in different locations so if we'd set the shaping values max bandwidth we can see if a device/bandwidth is underspecced or not if it keeps hitting at or close to 100% utilization.

1 Reply 1

Alexander Stevenson
Cisco Employee
Cisco Employee

 

Hello marco.caspers@westcon.com,

 

That is a bummer they specify the unit of measurement for the one but not the other endpoint. I wonder if there is a way to cross-reference the values to find the units. I looked all over in different documentations but could not find a definite answer for you.

 

I recommend also asking this exact question on the Meraki Community Technical Forums - Developers & API:  https://community.meraki.com/t5/Developers-APIs/bd-p/api