06-01-2020 02:46 AM - edited 06-01-2020 11:53 PM
Hi,
I need to calculate bandwidth use in my topology using only cisco IOS (not solarwinds or different software). After to read different discussions in this community, I found some options but are very old commentaries (around 2012) and I don't know if these forms work really:
- utilization =(bit sec / Data rate) x 100
- ping size x 8 / RTT
- About physical interface:
TXLOAD / 255 -> upload
RXLOAD / 255 -> download
Is it posssible to calculate bandwidth use ping, rtt, ip sla etc? which is the better method?
Thanks!
Solved! Go to Solution.
06-02-2020 08:06 AM
06-01-2020 02:55 AM
Hello @sir_ulrick ,
if you want to verify the effective bandwidth or speed on a link you can use multiple parallel ping over different VTY sessions.
This test has an impact.
If you want to build a traffic graph like monitoring tools do, you need to use SNMP and to query the 64 bits versions of byte counters ifInHCOctect if OutHCOctects. The bandwdith usage is given by a subtraction of previuos value from current value divided time interval.
Hope to help
Giuseppe
06-01-2020 03:02 AM
Hi @Giuseppe Larosa
thanks for your quick reply. Only I would like to know interface status when I launch ping, I don't need historical or graphic.
How is ping related to bandwidth utilization? I mean, with these results (normal ping test) how I can know bandwidth use of my link?
Ping statistics for 1.1.1.1:
Packets: Sent = 32219, Received = 32204, Lost = 15 (1% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 398ms, Average = 0ms
Control-C
^C
C:\>
06-01-2020 03:15 AM
Hello @sir_ulrick ,
>>
How is ping related to bandwidth utilization? I mean, with these results (normal ping test) how I can know bandwidth use of my link?
Ping statistics for 1.1.1.1:
Packets: Sent = 32219, Received = 32204, Lost = 15 (1% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 398ms, Average = 0ms
All you can say is the connectivity is stable but with a single ping session you cannot say anything about the total bandwidth of the link.
Hope to help
Giuseppe
06-01-2020 03:21 AM
sorry I think I understood wrong when you said "if you want to verify the effective bandwidth or speed on a link you can use multiple parallel ping over different VTY sessions" I thought that it's possible to calculate bandwith use with ping.
So, how is possible to calculate bandwidth use with rtt, ping, ip sla or any similar tool (only from cisco ios)?
06-01-2020 05:57 AM
06-01-2020 11:51 PM - edited 06-02-2020 12:38 AM
Thanks for your complete reply Joseph,
maybe I didn't define clearly my question. I would like to know how calculate available bandwidth at the point in time. Checking interface state, it's possible to take theorical bandwidth about physical interface, but I want to know how calculate bandwidth utilization at the point in time with a ping etc (only when I need it). How it works Cacti, SolarWinds etc to calculate use bandwidth with a ping (sounding line) ?
For example,
in this community I have seen different forms to calculate bandwidth at the moment:
- Utilization (U) Percentage = (Throughput/Data Rate) x 100
Using this form,
Throughput = I can see this information about physical interface
Data rate= Is the speed which interface is working (1000 mb, for example) but I could have hired 500 mb with my ISP, so which value I would need to putt here?
- TXLOAD / 255
RXLOAD / 255
to calculate bandwith use at the moment. But certainly, I don't know if it's a good form.
Thanks!
06-02-2020 08:06 AM
06-03-2020 03:23 AM
06-03-2020 10:12 AM
06-03-2020 11:08 PM
Thanks again for your help Joseph!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide