From Surf Wiki (app.surf) — the open knowledge base
SFlow
Network packet standard
Network packet standard
sFlow, short for "sampled flow", is an industry standard for packet export at Layer 2 of the OSI model. sFlow was originally developed by InMon Corp. It provides a means for exporting truncated packets, together with interface counters for the purpose of network monitoring. Maintenance of the protocol is performed by the sFlow.org consortium,{{cite web
Operation
sFlow uses mandatory sampling to achieve scalability{{cite web
An sFlow system consists of multiple devices performing two types of sampling: random sampling of packets{{cite web
Flow samples
Based on a defined sampling rate, an average of 1 out of n packets/operations is randomly sampled. This type of sampling does not provide a 100% accurate result, but it does provide a result with quantifiable accuracy.{{cite web
Counter samples
A polling interval defines how often the network device sends interface counters. sFlow counter sampling is more efficient than SNMP polling when monitoring a large number of interfaces.{{cite web
sFlow datagrams
The sampled data is sent as a UDP packet to the specified host and port. The official port number for sFlow is port 6343.{{cite web
The UDP payload contains the sFlow datagram. Each datagram provides information about the sFlow version, the originating device’s IP address, a sequence number, the number of samples it contains and one or more flow and/or counter samples.
sFlow versions
| Version | Comment | v1 | v2 | v3 | v4 | v5 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Initial version | |||||||||||||
| (Unknown) | |||||||||||||
| Adds support for *extended_url* information.{{cite IETF | title = InMon Corporation's sFlow: A Method for Monitoring Traffic in Switched and Routed Networks | rfc = 3176 | sectionname = sFlow Datagram Format | last1 = Phaal | first1 = Peter | last2 = Panchen | |||||||
| Adds support BGP communities. | |||||||||||||
| Several protocol enhancements.{{cite web | url = http://sflow.org/sflow_version_5.txt | title = sFlow Version 5 | publisher = sFlow.org | accessdate = 2014-06-20 |
References
References
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about SFlow — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report