Skip Links

Network World

Brad Reese

Cisco’s NetFlow vs. Inmon’s sFlow: Which will prevail?

NetFlow started as a proprietary technology developed by Cisco Systems.

By Brad Reese on Wed, 12/05/07 - 3:43am.
Newsletter Signup

In the quest for improved insight into network traffic, increasing numbers of administrators are turning to flow monitoring.

The question arises, however, which is better, sFlow or NetFlow?

Most major switch vendors are shipping equipment today with support for one or the other.

In this corner NetFlow

NetFlow started as a proprietary technology developed by Cisco Systems. It is included in Cisco's Internetwork Operating System (IOS), which comes embedded in its network hardware.

The most widely deployed is version 5; however, v7 and v9 are becoming increasingly popular.

Recently, the Internet Engineering Task Force released a proposed standard called IP Flow Information eXport (IPFIX), which is based on NetFlow v9's data export format. Vendors supporting NetFlow include Cisco, Enterasys Networks, Juniper Networks, Riverstone Networks (recently acquired by Lucent), Riverbed, Packeteer and many others.

Alan Saldich"Supporting NetFlow to provide improved network visibility remains part of our wide-area data services strategy," said Alan Saldich - product marketing vp at Riverbed Technology.

NetFlow is a technology whereby the router keeps track of all conversations inbound (version 5) on each interface it is enabled on.

It examines packets based on seven key fields and if two packets match on all seven criteria, it assigns them to the same flow or conversation.

Once the conversation has ended or is summarized it is sent to the collector.

A single NetFlow packet can be very large and contains conversation details on anywhere from 24-30 conversations.

If NetFlow is properly configured and the hardware isn't overloaded, this technology can be nearly 100 percent accurate at representing who is communicating through the device while having a very small impact on the CPU.

The challenger sFlow

Like NetFlow, sFlow is a push technology that sends reports to a collector.

But, while NetFlow is a software based technology, sFlow uses a dedicated chip that is built into the hardware. This approach removes the load from the router or switch's CPU and memory. Originally developed by InMon Corporation, sFlow products have been available since 2002.

sFlow Agents and Collector

sFlow Agents and Collector

The above diagram shows the basic elements of the sFlow system.

sFlow Agents throughout the network continuously send a stream of sFlow Datagrams to a central sFlow Collector where they are analyzed to produce a rich, real-time, network-wide view of traffic flows.

Alcatel, Allied Telesis, Dlink, Extreme Networks, Foundry Networks, HP, Hitachi, NEC and a few others have devices with sFlow chips.

sFlow isn't nearly as widely deployed as NetFlow, so fewer collectors are available.

The most current version is Version 5; however, Versions 2 and 4 are also widely deployed at this time.

sFlow is a sample-only technology where every X packet is sampled, the length noted, the majority of the packet is discarded and off it goes to the collector.

Because the technology is sample based, accurate representation of 100 percent of the traffic per interface is nearly impossible.

Complex algorithms have been proposed to statistically manipulate the collected data to represent total traffic with a probability of accuracy.

Software Collectors

To access the data generated by either sFlow or NetFlow enabled devices will require a collector.

A Google search on either sFlow or NetFlow will drum up a plethora of vendors with collector analyzers, many of whom support the analysis of both.

Marc BilodeauThere is also some decent freeware such as ntop, a network traffic probe that shows the network usage. Another popular collector is the Scrutinizer Flow Analyzer from Plixer International, which works with both NetFlow and sFlow data.

"Many of our customers are running a mixed hardware environment. Although NetFlow has been far more popular, we decided years ago to support sFlow as well," said Marc Bilodeau – chief technology officer of Plixer International.

Use Both

Which standard should you support, sFlow or NetFlow?

The answer is probably both.

If you have a purely Cisco network, all you will need to support is NetFlow.

However, should you have both HP ProCurve switches and Cisco routers, then you would use sFlow for the switches and NetFlow for the routers.

It is not uncommon to see sFlow on the LAN and NetFlow on the WAN/Internet.

The commands to Activate NetFlow and sFlow are available via the hardware vendors.

Typically vendors selling collectors also list the necessary configurations.


Related Stories:

Network World Cisco Flexible NetFlow expert Mike Patterson, Denial of Service (DoS) attacks can be accurately diagnosed
Network World Q & A with network behavior analysis software expert - Adam Powers
Network World NetFlow or sFlow: which is the open standard?
Network World Developed by Cisco, NetFlow reporting morphs into hyper-competitive industry
Network World Cisco customers have been kept in the dark about the extremely powerful NetFlow-NBAR technology combination
Network World Cisco invention NetFlow appears missing in action as Cisco invests into the network behavior analysis business
Network World Are you taking advantage of NetFlow and IP SLA?
Network World Appealing to CCIEs, hardware vendors copy Cisco's CLI and NetFlow to get into Cisco accounts
Network World NetFlow Tracker hits triple home run for Cisco VARS and their enterprise Cisco customers
Network World Demanding business applications have Cisco and rival HP ProCurve featuring their network behavior analysis strengths

Contact Brad Reese
http://www.BradReese.Com

Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A classic scam to defraud Cisco's SMARTnet program
America's Best profile written by Useem regarding Chambers' success
Avian Securities Senior Telecom Research Analyst - Catharine Trebnick
Breakingviews.com correspondent - Robert Cyran
CCIE
Careers
Charlie Giancarlo - Managing Director of Silver Lake Partners and Skype investor
Cisco
Cisco ASR 9000 architecture
Cisco ISR G2 Module Support
Cisco Integrated Services Router Generation 2 (ISR G2) Model Comparison
Cisco Integrated Services Routers Generation 2 Portfolio
Cisco Unified Communications Support for Microsoft Windows 7
Cisco is pushing their ASR 9000 at very competitive prices
Cisco is warning Unified Communications customers about NOT successfully offering support for Microsoft Windows 7
Cisco technical star Jonathan Rosenberg
Cisco will have no liability for any delay in delivery
Data Center
Douglas Smith - Cofounder and President of Network Instruments
Expand visibility of NetFlow-dependent NBAD and compliance applications
GigaStor captures and converts packets in NetFlow data flows
Index Venture partner Danny Rimer
Jonathan Rosenberg - a Cisco Fellow in Cisco's Voice Technology Group
Juniper MX960 lab test results
LANs / WANs
Mark Roberts - Polycom vice president of partner marketing
Michael Useem - Professor of Management
Microsoft
NetFlow
NetFlow add-ons
NetFlow overhead can overtax infrastructure
Network Behavior Anomaly Detection (NBAD)
Network Management
Non-NetFlow capable devices are blind to local traffic
Produce NetFlow about any device
SMB
Security
Selection committee member for America's Best Leaders
September 2009 vs. October 2009 Worldwide CCIE Count Comparison
Silver Lake Managing Director - Egon Durban
Skype's cofounders Niklas Zennstrom and Janus Friis
Software
The Charlie angle is to keep Dave Roux on track
The new Cisco ISR G2 portfolio is priced as follows
VoIP / Convergence
What are the benefits of GigaStor NetFlow Agent?
What’s new on the Cisco ISR G2 models vs. the old ISR models?
Windows 7
Windows 7 just not worth an all-out urgent effort by Cisco to support
Wireless / Mobile
eBay CEO - John Donahoe
sFlow
sFlow and NetFlow provides extended visibility
On The Web
Twitter