So if a flow is less than the sampling rate it does not export anything, I 
believe is what you are saying.

Thanks,
-Drew


-----Original Message-----
From: Saku Ytti <[email protected]> 
Sent: Thursday, July 30, 2020 8:36 AM
To: Drew Weaver <[email protected]>
Cc: Dobbins, Roland <[email protected]>; [email protected]
Subject: Re: [c-nsp] Netflow/Sflow for "irrelevant" traffic?

On Thu, 30 Jul 2020 at 15:26, Drew Weaver <[email protected]> wrote:

> So just for a refresher if you are sampling lets say at 1:500 and lets say 1 
> byte goes through an interface that is not intended to produce an export?
> The exporting only happens if the amount of data is over a certain threshold? 
> Does that threshold vary?

You'd pick up every nTh packet for sampling.

sample(packet) if packet_count % 500 == 0

-- 
  ++ytti
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to