NetFlow Vs. sFlow – It May Matter To You

Posted in General, Scrutinizer on January 21st, 2009 by mike@plixer.com
NetFlow Vs. sFlow - It May Matter To You

Over six months ago we completed a technical review on the differences between sFlow and NetFlow, which was published in NetworkWorld.com. In this review you will find specific reasons why and when to use one or the other.

Because Scrutinizer supports all major versions of sFlow and NetFlow, we don’t need to pick sides on which one is better.  I will say that we periodically get calls from customers wondering why the sFlow statistics from a switch aren’t the same as those reported by NetFlow on the directly connected router.  They are comparing the totals for a specific IP address.

The reason is simple:

  • sFlow samples anything and is network layer independent (e.g. IPX, NetBEUI, IP, etc.)
  • NetFlow accounts for 100% of everything IP based (i.e. not IPX, NetBEUI, etc.)

I would consider this:

  • If your network supports a heterogenious multiprotocol environment, you might want to consider sFlow switches.
  • If your network supports only IP based traffic, a sFlow or NetFlow switch will do.
  • If you want 100% accuracy on network traffic and accountability, I would select a NetFlow capable switch.  Only Enterasys and Cisco market a NetFlow capable switch.

Questions you may have:
Q: Why don’t more switch vendors support NetFlow at the switch?
A: Usually because of the cost to engineer and implement a NetFlow capable switch.

Q: I heard that sFlow is in hardware, and that NetFlow is in software and causes more overhead for the switch.  Is this true?
A: Yes and no,  Cisco routers use software and CPU to export NetFlow.  Many switches support NetFlow in hardware.

“The Enterasys Matrix N-Series switches collect NetFlow statistics for every packet in every flow without sacrificing performance based on the nTERA ASIC capabilities. Whether the network is operating at 10/100/1000, Gigabit or 10 Gigabit speeds – the NetFlow data can be leveraged for performance management and network behavioral analysis to ensure the confidentiality, integrity and availability of information.”

Trent Waterhouse, Enterasys Networks, Inc.

Q: How much does it cost for a ‘flow’ capable switch?
A: I’ve seen the following street prices: D-Link DGS-3627 sFlow switches as low as $2600 and Enterasys N1 series NetFlow switches for  ~$15,000.  I would not limit the decision to ‘flow’ support.  Foundry, Juniper, etc. make great flow capable hardware as well. Always evaluate before you buy.

Q: We leverage NetFlow for Network Behavior Analysis (NBA), will sFlow be as useful as NetFlow?
A: Remember, sFlow is sampling, so a host that scans a subnet is not as likely to be picked up by analyzing sFlow samples as it is with NetFlow; and it may not matter.  Most switches today are performing NBA at the switch, which we cover in our white paper.

Bottom Line

NetFlow or sFlow support should be on the list of features to consider, along with SNMP and NMS integration, when purchasing your next switch. We feel that a best of breed solution is the ideal investment for your company.  If you have other questions, just call me (207)324-8805.

Michael Patterson
Founder and CEO

For a free 30 day trial of Scrutinizer, Download Now!

Sign up for Advanced NetFlow Training™ coming to a city near you!

Tags: , ,

6 Responses to “NetFlow Vs. sFlow – It May Matter To You”

  1. NetFlow Sampling – Why bother? - NetFlow & sFlow Network Monitoring - Systrax Blog Says:

    [...] you’ve done any comparison reading regarding the differences between NetFlow and sFlow, then you understand that NetFlow provides a much broader visibility into your network traffic [...]

  2. Stanley Hirschfield Says:

    Thank you. Looking forward to reading more of your posting. Have fun!

  3. NetFlow vs. sFlow for Network Monitoring and Security: The Final Say - NetFlow & sFlow Network Monitoring - Systrax Says:

    [...] blogged about the differences between NetFlow and sFlow before but this debate continues to come up often enough and has been going on long enough that it [...]

  4. gaurang Says:

    hi
    so s-flow enabled firewall or switch are not able to analysys of IP application?
    i want detailed traffic,like which application uses most of the traffic,which are top protocol used in my network?

    all above requirement should be fulfilled with s-flow enabled firewall?

  5. mike@plixer.com Says:

    A sFlow, NetFlow or IPFIX capable firewall will do what you want. Just remember, that sFlow is not a real flow technology whereas it samples packets. Statistically over a few hours, sFlow will accurately represent the top 10 applications, protocols, hosts, etc. NetFlow and IPFIX can represent 100% of the data and contrary to popular belief, most firewalls regardless of the export do all of this in hardware. Most firewalls support NetFlow or IPFIX. sFlow seems to be largely limited to inexpensive switches.

  6. Brandon Wright Says:

    Hey Mike,

    I noticed that you put “Only Enterasys and Cisco market a NetFlow capable switch.” I believe Avaya’s ERS [ Ethernet Routing Switch ] line also supports netflow, only they call it IPFIX which is the standard that was adopted by the IETF, and appears to really just be Netflow version 9. Just wanted to throw that out there.

    Thanks

Leave a Reply

*