cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11221
Views
0
Helpful
6
Replies

Bandwidth Calculation from rx tx value

Ninad Thakare
Level 1
Level 1

Hi,

Can any one help, how to calculate bandwidth utlization from " sh int" details..?

Can the percentage will get calculated from rx tx values..?

I am using 4 mbps lease line.

FastEthernet0/0/0 is up, line protocol is up

Hardware is FastEthernet, address is 001a.6c70.4b14 (bia 001a.6c70.4b14)

Description: Internet Connection

Internet address is 1.1.1.1/30

MTU 1500 bytes, BW 4000 Kbit, DLY 100 usec,

     reliability 255/255, txload 31/255, rxload 120/255

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Full-duplex, 100Mb/s, 100BaseTX/FX

ARP type: ARPA, ARP Timeout 04:00:00

Last input 00:00:00, output 00:00:00, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo

Output queue: 0/40 (size/max)

5 minute input rate 828000 bits/sec, 111 packets/sec

5 minute output rate 498000 bits/sec, 92 packets/sec

     788931865 packets input, 4036778275 bytes

     Received 398 broadcasts, 0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     0 watchdog

     0 input packets with dribble condition detected

     571607354 packets output, 3639639717 bytes, 0 underruns

Thanks in Advance,

Regards,

Ninad Thakare

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

 

There are several ways to do this, but if your link is 4 Mbps, use the bandwidth statement on the interface and set to 4000 (I think I recall it uses K, if not correct value would be 4000000).

Then when you looks at tx or rx loads, those are the load ratios.  e.g. 128/255 = 50%, 64/255 = 25%.

View solution in original post

6 Replies 6

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Ninad,

I think you have got the picture.

5 minute input rate 828000 bits/sec, 111 packets/sec

5 minute output rate 498000 bits/sec, 92 packets/sec

This is the volume of traffic for that time period.

---------------------------------------------------------------------

first of all change the input rate to 30 seconds.

config t

load-interval 30

exit

then use

sh int f0/1 | inc drops|bits

it will show you how much trafic going through or any packet drops as well.

Regards

Please rate helpful posts

Hi sandeep,

I changed have changed the load interval to 30. And found the following output.

FastEthernet0/0/0 is up, line protocol is up

  Hardware is FastEthernet, address is 001a.6c70.4b14 (bia 001a.6c70.4b14)

  Description: Internet Connection

  Internet address is 115.111.129.54/30

  MTU 1500 bytes, BW 4000 Kbit, DLY 100 usec,

     reliability 255/255, txload 20/255, rxload 178/255

  Encapsulation ARPA, loopback not set

  Keepalive set (10 sec)

  Full-duplex, 100Mb/s, 100BaseTX/FX

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:00:00, output 00:00:00, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)

  30 second input rate 2648000 bits/sec, 282 packets/sec

  30 second output rate 329000 bits/sec, 187 packets/sec

     807938619 packets input, 3336210079 bytes

     Received 400 broadcasts, 0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     0 watchdog

     0 input packets with dribble condition detected

     584946689 packets output, 2374024442 bytes, 0 underruns

     0 output errors, 0 collisions, 4 interface resets

     0 babbles, 0 late collision, 0 deferred

     1 lost carrier, 0 no carrier

     0 output buffer failures, 0 output buffers swapped out

Now how should i calculate...?

Regards,

Ninad Thakare

Hi Ninad,

This is the volume of traffic for that time period.

30 second input rate 2648000 bits/sec, 282 packets/sec

30 second output rate 329000 bits/sec, 187 packets/sec

807938619 packets input, 3336210079 bytes

584946689 packets output, 2374024442 bytes, 0 underruns

There are some free and commecial network monitoring software packages that can give you much more data about in/out traffic on your device.

Regards

please rate helpful posts

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

 

There are several ways to do this, but if your link is 4 Mbps, use the bandwidth statement on the interface and set to 4000 (I think I recall it uses K, if not correct value would be 4000000).

Then when you looks at tx or rx loads, those are the load ratios.  e.g. 128/255 = 50%, 64/255 = 25%.

Hi,

Thanks for help. I got the logic behind it.

Thanks everyone.

Regards,

Ninad Thakare

Glad that u got ur answer.

Regards

Sent from Cisco Technical Support iPhone App

Review Cisco Networking for a $25 gift card