Lists the key differences between sFlow and NetFlow based on functionality, monitored flows, processing, scalability, mechanism, and resource usage.
Provides a comparison of sFlow and NetFlow based on functionality, monitored flows, processing, scalability, mechanism, and resource usage.
This reference provides a comparison of NetFlow and sFlow based on several factors.
-
NetFlow stores and aggregates IP traffic metadata as flow records, which are exported to a collector after the active timer expires.
-
sFlow transfers sampled data promptly to the collector without storing it, resulting in lower resource usage and a stateless mechanism.
|
Factor |
Netflow |
sFlow |
|---|---|---|
|
Functionality |
Stores the exported metadata aggregated related to IP traffic in the form of a Netflow Record Template. This Netflow Record is saved until the active timer expires, at which point it's exported to the collector. |
sFlow is transient and therefore the data is not stored, instead, it's promptly transferred to the collector. |
|
Monitored Flows |
Monitors the following traffic:
|
Monitors the following traffic:
|
|
Flow Data Processing |
Processes flow data and stores it as flow records. |
The flow data is sent to the collector for analysis. Unlike NetFlow, sFlow is not cached and contains fewer flow data fields. |
|
Scalability |
Scalability is determined by the number of packets sampled as per the NetFlow sampler map. |
Scalability is determined by the number of sFlow packets. |
|
Mechanism |
Packet aggregation into flows. Netflow is stateful as it stores the Flow record until the active timer expires. |
Packets are sampled randomly, while counters are sampled based on time intervals. sFlow is not stateful since the data is not stored; it's directly forwarded to the collector. |
|
Resource usage |
Elevated, due to more information provided, resulting in a significant burden on the router. |
Typically places lower load on the router. |