Child pages
  • Tracking Flow Volume and Import Performance

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get the current time
  2. Get the number of flows
  3. Wait 2 minutesX minutes, for example 2 or 60
  4. Get the current time
  5. Get the number of flows
  6. Do some math, subtract second flow number from first flow number, that is the number of flows for 2 X minutes, divide by 120 X * 60 (so the number of seconds) and you have the number per second.  Doing this over more time will give you a better idea of the overall number, it is suggested that you wait much more than 2 minutes

 

Code Block
router> show clock
11:57:51.155 AEST Wed Apr 2 2014

...

Code Block
meatball>sh ip flow export 
Flow export v9 is enabled for main cache
  Export source and destination details : 
  VRF ID : Default
    Destination(1)  192.168.1.7 (12345) 
    Destination(2)  192.168.1.42 (12345) 
  Version 9 flow records
  25717645 flows exported in 890173 udp datagrams
  0 flows failed due to lack of export packet
  0 export packets were sent up to process level
  0 export packets were dropped due to no fib
  1 export packets were dropped due to adjacency issues
  0 export packets were dropped due to fragmentation failures
  0 export packets were dropped due to encapsulation fixup failures

Figure Our clock difference was almost exactly 2 minutes, so we will use that number in the example for our calculations.

To figure out flows / 2 min  or flows / second:

...