04-29-2015 09:32 AM - edited 03-08-2019 06:58 PM
Problem:
Calculating Throughput on the ASA
Solution:
For Calculating Throughput on the ASA, We have to add received or Transmit traffic in bytes/sec on all physical interfaces:
26066000 + 23001 + 12071002 = 38160003 Bytes/sec
Then you will need to convert that to Mb/seconds for that you will need to partition that into 1024 to get the kbps and then the
result into 1024 again to get the Mbps.
38160003*8 = 305280024/1024*1024 = 291 Mbps(Approx)
Example:
ASA# sh traffic
outside:
        received (in 3425526.539 secs):
                11602101703 packets     3323374105471 bytes
                3000 pkts/sec   970001 bytes/sec
        transmitted (in 3425526.539 secs):
                24732261103 packets     31104178486462 bytes
                7000 pkts/sec   9080000 bytes/sec
      1 minute input rate 10435 pkts/sec,  1488255 bytes/sec
      1 minute output rate 24145 pkts/sec,  32465004 bytes/sec
      1 minute drop rate, 6 pkts/sec
      5 minute input rate 10922 pkts/sec,  1050667 bytes/sec
      5 minute output rate 26759 pkts/sec,  36397369 bytes/sec
      5 minute drop rate, 6 pkts/sec
inside:
        received (in 3425526.539 secs):
                6147712 packets 5827368838 bytes
                0 pkts/sec      1000 bytes/sec
        transmitted (in 3425526.539 secs):
                3864796 packets 706471536 bytes
                1 pkts/sec      0 bytes/sec
      1 minute input rate 0 pkts/sec,  625 bytes/sec
      1 minute output rate 0 pkts/sec,  51 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 1 pkts/sec,  964 bytes/sec
      5 minute output rate 0 pkts/sec,  171 bytes/sec
      5 minute drop rate, 0 pkts/sec
dmz:
        received (in 3425526.529 secs):
                615701528 packets       593335704982 bytes
                0 pkts/sec      173000 bytes/sec
        transmitted (in 3425526.529 secs):
                542736326 packets       328097173908 bytes
                0 pkts/sec      95000 bytes/sec
      1 minute input rate 1014 pkts/sec,  767181 bytes/sec
      1 minute output rate 1886 pkts/sec,  2067856 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 713 pkts/sec,  712370 bytes/sec
      5 minute output rate 1057 pkts/sec,  1081978 bytes/sec
      5 minute drop rate, 0 pkts/sec
management:
        received (in 3425526.519 secs):
                0 packets       0 bytes
                0 pkts/sec      0 bytes/sec
        transmitted (in 3425526.519 secs):
                0 packets       0 bytes
                0 pkts/sec      0 bytes/sec
      1 minute input rate 0 pkts/sec,  0 bytes/sec
      1 minute output rate 0 pkts/sec,  0 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 0 pkts/sec,  0 bytes/sec
      5 minute output rate 0 pkts/sec,  0 bytes/sec
      5 minute drop rate, 0 pkts/sec
----------------------------------------
Aggregated Traffic on Physical Interface
----------------------------------------
GigabitEthernet0/0:
        received (in 1114722.812 secs):
                50691669895 packets     29056584830620 bytes
                45000 pkts/sec  26066000 bytes/sec
        transmitted (in 1114722.812 secs):
                89478187368 packets     105912906132034 bytes
                80003 pkts/sec  95012002 bytes/sec
      1 minute input rate 10435 pkts/sec,  1728691 bytes/sec
      1 minute output rate 24145 pkts/sec,  32903020 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 10922 pkts/sec,  1305240 bytes/sec
      5 minute output rate 26759 pkts/sec,  36881011 bytes/sec
      5 minute drop rate, 0 pkts/sec
GigabitEthernet0/1:
        received (in 1114722.812 secs):
                31573251 packets        26176731916 bytes
                1 pkts/sec      23001 bytes/sec
        transmitted (in 1114722.812 secs):
                19393919 packets        3313514438 bytes
                1 pkts/sec      2001 bytes/sec
      1 minute input rate 0 pkts/sec,  642 bytes/sec
      1 minute output rate 0 pkts/sec,  63 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 1 pkts/sec,  987 bytes/sec
      5 minute output rate 0 pkts/sec,  187 bytes/sec
      5 minute drop rate, 0 pkts/sec
GigabitEthernet0/2:
        received (in 1114722.812 secs):
                14412733682 packets     13456088520470 bytes
                12000 pkts/sec  12071002 bytes/sec
        transmitted (in 1114722.812 secs):
                12435294449 packets     9183378438358 bytes
                11001 pkts/sec  8238003 bytes/sec
      1 minute input rate 1014 pkts/sec,  787939 bytes/sec
      1 minute output rate 1886 pkts/sec,  2103251 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 713 pkts/sec,  726175 bytes/sec
      5 minute output rate 1057 pkts/sec,  1102361 bytes/sec
      5 minute drop rate, 0 pkts/sec
Management0/0:
        received (in 1114722.832 secs):
                0 packets       0 bytes
                0 pkts/sec      0 bytes/sec
        transmitted (in 1114722.832 secs):
                1 packets       42 bytes
                0 pkts/sec      0 bytes/sec
      1 minute input rate 0 pkts/sec,  0 bytes/sec
      1 minute output rate 0 pkts/sec,  0 bytes/sec
      1 minute drop rate, 0 pkts/sec
      5 minute input rate 0 pkts/sec,  0 bytes/sec
      5 minute output rate 0 pkts/sec,  0 bytes/sec
      5 minute drop rate, 0 pkts/sec
------------------------------------------------------------------------------------------------
Outputs (which we calculated in order to get the throughput):
We have to add receive traffic on Physical interfaces:
26066000 + 23001 + 12071002 = 38160003 Bytes/sec
38160003*8 = 305280024/1024*1024 = 291 Mbps(Approx)
------------------------------------------------------------------------------------------------
Monitoring Bandwidth through ASDM:
we can monitor the bandwidth through Graphs in the Firewall Dashboard.
Reference Document:
Thanks
Azmat Ali
Great document Azmat...Very helpful!!
 
					
				
		
Why
38160003*8 = 305280024/1024*1024 = 291 Mbps(Approx)
?!?
Storage (Kilo = 1024 bits)
Bandwidth (Kilo = 1000 bits)
http://physics.nist.gov/cuu/Units/binary.html
so
38160003 = megabits 305.280024
 
					
				
		
Hi Azmat Ali, I am getting below different values for recvd and transmit, which one to be considered here ?
| Traffic | bytes/sec | Mbps | 
| recvd | 38160003 | 291.1377 | 
| trasmitt | 103252006 | 787.7503 | 
Hello azali and all:
Is not this wrong equation?
38160003*8 = 305280024/1024*1024 = 291 Mbps(Approx)
it should be
38160003*8 = 305280024 bits = (305280024/1000) Kbps = 305280.024/1024 = 291 Mbps(Approx) notice I removed *1024 which I think is confusing and move bits to Kbps so result will reflect Mbps
There is also some documentation that indicates 1000Kbps = 1Mbps and other 1024Kbps = 1Mbps
Please note: "Decimal multiples" not Binary or when it is Binary related.
Refer to: "Decimal multiples" not Binary.
www.checkyourmath.com/convert/data_rates/per_second/kilobits_megabits_per_second.php
and Binary:
1 kb/s = 0.0009765625 Mb/s
1 Mb/s = 1024 kb/s
www.unitconverters.net/data-transfer/kbps-to-mbps.htm
Thanks!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: