|
|
|
Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
|||||||||||||||||||
|
Posted by on March 29, 2006, 3:59 pm
Please log in for more thread options
Example 143849529 packets input, 129326779238 bytes 125183986 packets output, 29173768997 bytes there is a way to convert this to actual Mb/s Does someone know the calculation to achieve this | |||||||||||||||||||
|
Posted by Arnold Nipper on March 29, 2006, 4:54 pm
Please log in for more thread options Take the minimum of 'Last clearing of "show interface" counters' and 'uptime' and do the math, -- Arnold Nipper, AN45 | |||||||||||||||||||
|
Posted by Walter Roberson on March 29, 2006, 5:01 pm
Please log in for more thread options >when doing a sho int atm and looking at the output.
>143849529 packets input, 129326779238 bytes
>125183986 packets output, 29173768997 bytes >there is a way to convert this to actual Mb/s >Does someone know the calculation to achieve this
On sufficiently new high-end devices you could probably put together some TCL code that did the conversion for you. The figures you gave are not enough information to calculate Mb/s -- to calculate that, you need the time interval as well as the volume difference. You should decide "which" Mb/s you mean. Does your prefix 'M' mean "million" (10^6), or does it mean the same "mega" that is used to measure memory, 1024*1024*1024 (i.e., 2^30) ? Also, because of inconsistant usage, you should decide if you want megabits per second or megabytes per second. I would suggest that possibly the easiest thing for you to do would be to set up MRTG monitoring of the device, and let it take the measurements and do the calculations and keep the nice historical trend graphs. It usually isn't very useful to know that the average traffic rate *since the device was last reset* was something-or-other -- typically the low evening and weekend figures distort those figures completely. You probably want to get a good idea of what your peak rates are at various times: MRTG and similar are great for that. | |||||||||||||||||||
|
Posted by Merv on March 29, 2006, 6:42 pm
Please log in for more thread options If you are just trying to get a traffic snapshot,
then clear the interface counters and then do a show clock and a show interface together (cut and paste from notepad) wait several minutes and repeat. subtract the traffic and the clock times and do the math. you can also configure "load-interval 30" on the interface and then it will give you traffic average for a 30 second period as seen in the output of show interface | |||||||||||||||||||
|
Posted by Joel Salminen on March 29, 2006, 9:52 pm
Please log in for more thread options Short answer... there is 8 bits to 1 bytes.
Covert bits to bytes: divide the megabits by 8 Covert bytes to bits: multiple the megabytes by 8 > when doing a sho int atm and looking at the output.
> > Example > > 143849529 packets input, 129326779238 bytes > 125183986 packets output, 29173768997 bytes > there is a way to convert this to actual Mb/s > > Does someone know the calculation to achieve this > | |||||||||||||||||||

Convert bytes to MB on cisco router
Yahoo!
Windows Live
del.icio.us
digg
Netscape 









>
> Example
>
> 143849529 packets input, 129326779238 bytes
> 125183986 packets output, 29173768997 bytes
> there is a way to convert this to actual Mb/s
>
> Does someone know the calculation to achieve this
>