cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Calculating Throughput on the ASA

6009
Views
0
Helpful
3
Comments

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:

http://www.cisco.com/c/en/us/td/docs/security/asa/asa93/asdm73/general/asa-general-asdm/intro-asdm-gui.html#pgfId-1110965

 

 

Thanks

Azmat Ali

Comments
Community Member

Great document Azmat...Very helpful!!

Enthusiast

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

 

Participant

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