<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic G/C3/B3 provides Less sFlow Sampling Data than Expected in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/g-c3-b3-provides-less-sflow-sampling-data-than-expected/m-p/48022#M500</link>
    <description>Article ID: 12908 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
G-Series, firmware 6.03.00.0022 and higher&lt;BR /&gt;
C3-Series, firmware 6.03.00.0022 and higher&lt;BR /&gt;
B3-Series, firmware 6.03.00.0022 and higher&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Changes&lt;/B&gt;&lt;BR /&gt;
Configured the switch to provide sFlow Packet Sampler data, with or without Statistics Poller data.&lt;BR /&gt;
&lt;BR /&gt;
Here is a sample configuration:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;#sflow&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow receiver 1 owner myCollector timeout 4294637449&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow receiver 1 ip 10.20.153.190&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1-24 sampler 1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.2 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.3 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;. . .&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.24 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1-24 poller 1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.2 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.3 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
 &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;. . .&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.24 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
The sFlow feature permits the user to configure up to 32 ports with Packet Samplers (each extracting one packet per average of 1024-65536 ingressed packets) and an unlimited number of ports with Statistics Pollers (each polling every 0-86400 seconds), continually sending the resulting data to a sFlow collector, which collates it to provide a broad cross-section of the volume and type of traffic that is entering the configured port(s).&lt;BR /&gt;
Note1: The initally required receiver parameters are &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;ip&lt;/PRE&gt;&lt;/DIV&gt;, &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;owner&lt;/PRE&gt;&lt;/DIV&gt;, and &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;timeout&lt;/PRE&gt;&lt;/DIV&gt;. Until these are configured, it is not possible to successfully issue most of the other sflow 'set' commands. A violation of these rules will result in an "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Incorrect input! Invalid Receiver index value.&lt;/PRE&gt;&lt;/DIV&gt;" error.&lt;BR /&gt;
Note2: The '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;port#&lt;/I&gt;&lt;/PRE&gt;&amp;gt;  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sampler|poller&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;receiver#&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' commands set the designated ports to each operate a sampler and/or poller instance, reporting to the cited receiver instance. This is made clear in the output of the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show sflow sampler|poller&lt;/PRE&gt;&lt;/DIV&gt;' commands.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Symptoms&lt;/B&gt;&lt;BR /&gt;
The switch sends less sampled data to the sFlow collector than expected.&lt;BR /&gt;
A similar configuration (specifying the same sampler rate) on a different switch model yields more sampled packet data.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Cause&lt;/B&gt;&lt;BR /&gt;
As stated in the Configuration Guide regarding the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sampler rate&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;rate&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' parameter of the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port...&lt;/PRE&gt;&lt;/DIV&gt;' command:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Specifies the statistical sampling rate for sampling from this data source. The value of&lt;/PRE&gt;&lt;/DIV&gt;  &lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;rate&lt;/I&gt;&lt;/PRE&gt;  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;specifies the number of incoming packets from which one packet will be sampled. For example, if the rate is 1024, one packet will be sampled from [an average of] every 1024 ingressing packets on this data source.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;The rate can range from 1024 to 65536. A value of 0 disables sampling. The default value is 0.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
It might reasonably be expected that the total of the "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;In Unicast Pkts&lt;/PRE&gt;&lt;/DIV&gt;", "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;In Multicast Pkts&lt;/PRE&gt;&lt;/DIV&gt;", and "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;In Broadcast Pkts&lt;/PRE&gt;&lt;/DIV&gt;" appearing in the output of a '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show port counters&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;port#&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' command, divided by the sampler rate, would yield a close approximation of the number of sFlow sampler packets sent to the collector for that port during the switch's uptime.&lt;BR /&gt;
&lt;BR /&gt;
It is likely, however, that the actual number of sFlow sampler packets sent to the collector will be fewer than estimated.&lt;BR /&gt;
&lt;BR /&gt;
This is because the sFlow function of the switch's ASIC restarts the sampling process each second. This means that if the packet rate (in frames per second) on a port is less than the sampler rate, no sampling will occur for that second. It also means that a certain number of frames at the end of each one-second window will not be reported, which ultimately means that the sampler rate is likely to be effectively lower (lower rate = higher number) than what is configured.&lt;BR /&gt;
&lt;BR /&gt;
This behavior is documented in firmware release notes (e.g. &lt;A href="https://extranet.enterasys.com/downloads/pages/C3.aspx" target="_blank" rel="nofollow noreferrer noopener"&gt;C3-Series f/w 6.03.03.0008&lt;/A&gt;), in the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Known issues from previous releases&lt;/PRE&gt;&lt;/DIV&gt;' section:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sFlow&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sFlow does not sample with frame rates&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;1024fps.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution/Workaround&lt;/B&gt;&lt;BR /&gt;
Functions as Designed (FAD).&lt;BR /&gt;
This is a hardware attribute that is not expected to change.&lt;BR /&gt;
&lt;BR /&gt;
Workaround:&lt;BR /&gt;
If no packets are being sent to the collector for a given port, try increasing the packet throughput by transferring a large file over that port.&lt;BR /&gt;
&lt;BR /&gt;
Note also that a similarly described issue - but generally restricted to ports handling high traffic volumes - is fixed as of firmware 6.03.04.0004:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;12893&lt;/PRE&gt;&lt;/DIV&gt;   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Resolved an issue with sFlow whereby the actual packet sampling rate did not match the user configured value.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
With the fix, system behavior is now consistently as described in this document.&lt;BR /&gt;
&lt;BR /&gt;
For further sFlow background, please refer to the &lt;A href="https://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Configuration Guide&lt;/A&gt; for your product.&lt;BR /&gt;
See also: &lt;A href="http://bit.ly/1jovBCM" target="_blank" rel="nofollow noreferrer noopener"&gt;13973&lt;/A&gt;.</description>
    <pubDate>Fri, 13 Jun 2014 18:09:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2014-06-13T18:09:00Z</dc:date>
    <item>
      <title>G/C3/B3 provides Less sFlow Sampling Data than Expected</title>
      <link>https://community.extremenetworks.com/t5/faqs/g-c3-b3-provides-less-sflow-sampling-data-than-expected/m-p/48022#M500</link>
      <description>Article ID: 12908 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
G-Series, firmware 6.03.00.0022 and higher&lt;BR /&gt;
C3-Series, firmware 6.03.00.0022 and higher&lt;BR /&gt;
B3-Series, firmware 6.03.00.0022 and higher&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Changes&lt;/B&gt;&lt;BR /&gt;
Configured the switch to provide sFlow Packet Sampler data, with or without Statistics Poller data.&lt;BR /&gt;
&lt;BR /&gt;
Here is a sample configuration:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;#sflow&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow receiver 1 owner myCollector timeout 4294637449&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow receiver 1 ip 10.20.153.190&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1-24 sampler 1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.2 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.3 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;. . .&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.24 sampler rate 1024&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1-24 poller 1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.1 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.2 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.3 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
 &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;. . .&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port ge.1.24 poller interval 60&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
The sFlow feature permits the user to configure up to 32 ports with Packet Samplers (each extracting one packet per average of 1024-65536 ingressed packets) and an unlimited number of ports with Statistics Pollers (each polling every 0-86400 seconds), continually sending the resulting data to a sFlow collector, which collates it to provide a broad cross-section of the volume and type of traffic that is entering the configured port(s).&lt;BR /&gt;
Note1: The initally required receiver parameters are &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;ip&lt;/PRE&gt;&lt;/DIV&gt;, &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;owner&lt;/PRE&gt;&lt;/DIV&gt;, and &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;timeout&lt;/PRE&gt;&lt;/DIV&gt;. Until these are configured, it is not possible to successfully issue most of the other sflow 'set' commands. A violation of these rules will result in an "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Incorrect input! Invalid Receiver index value.&lt;/PRE&gt;&lt;/DIV&gt;" error.&lt;BR /&gt;
Note2: The '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;port#&lt;/I&gt;&lt;/PRE&gt;&amp;gt;  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sampler|poller&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;receiver#&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' commands set the designated ports to each operate a sampler and/or poller instance, reporting to the cited receiver instance. This is made clear in the output of the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show sflow sampler|poller&lt;/PRE&gt;&lt;/DIV&gt;' commands.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Symptoms&lt;/B&gt;&lt;BR /&gt;
The switch sends less sampled data to the sFlow collector than expected.&lt;BR /&gt;
A similar configuration (specifying the same sampler rate) on a different switch model yields more sampled packet data.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Cause&lt;/B&gt;&lt;BR /&gt;
As stated in the Configuration Guide regarding the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sampler rate&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;rate&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' parameter of the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set sflow port...&lt;/PRE&gt;&lt;/DIV&gt;' command:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Specifies the statistical sampling rate for sampling from this data source. The value of&lt;/PRE&gt;&lt;/DIV&gt;  &lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;rate&lt;/I&gt;&lt;/PRE&gt;  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;specifies the number of incoming packets from which one packet will be sampled. For example, if the rate is 1024, one packet will be sampled from [an average of] every 1024 ingressing packets on this data source.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;The rate can range from 1024 to 65536. A value of 0 disables sampling. The default value is 0.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
It might reasonably be expected that the total of the "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;In Unicast Pkts&lt;/PRE&gt;&lt;/DIV&gt;", "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;In Multicast Pkts&lt;/PRE&gt;&lt;/DIV&gt;", and "&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;In Broadcast Pkts&lt;/PRE&gt;&lt;/DIV&gt;" appearing in the output of a '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show port counters&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;port#&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' command, divided by the sampler rate, would yield a close approximation of the number of sFlow sampler packets sent to the collector for that port during the switch's uptime.&lt;BR /&gt;
&lt;BR /&gt;
It is likely, however, that the actual number of sFlow sampler packets sent to the collector will be fewer than estimated.&lt;BR /&gt;
&lt;BR /&gt;
This is because the sFlow function of the switch's ASIC restarts the sampling process each second. This means that if the packet rate (in frames per second) on a port is less than the sampler rate, no sampling will occur for that second. It also means that a certain number of frames at the end of each one-second window will not be reported, which ultimately means that the sampler rate is likely to be effectively lower (lower rate = higher number) than what is configured.&lt;BR /&gt;
&lt;BR /&gt;
This behavior is documented in firmware release notes (e.g. &lt;A href="https://extranet.enterasys.com/downloads/pages/C3.aspx" target="_blank" rel="nofollow noreferrer noopener"&gt;C3-Series f/w 6.03.03.0008&lt;/A&gt;), in the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Known issues from previous releases&lt;/PRE&gt;&lt;/DIV&gt;' section:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sFlow&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sFlow does not sample with frame rates&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;1024fps.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution/Workaround&lt;/B&gt;&lt;BR /&gt;
Functions as Designed (FAD).&lt;BR /&gt;
This is a hardware attribute that is not expected to change.&lt;BR /&gt;
&lt;BR /&gt;
Workaround:&lt;BR /&gt;
If no packets are being sent to the collector for a given port, try increasing the packet throughput by transferring a large file over that port.&lt;BR /&gt;
&lt;BR /&gt;
Note also that a similarly described issue - but generally restricted to ports handling high traffic volumes - is fixed as of firmware 6.03.04.0004:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;12893&lt;/PRE&gt;&lt;/DIV&gt;   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Resolved an issue with sFlow whereby the actual packet sampling rate did not match the user configured value.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
With the fix, system behavior is now consistently as described in this document.&lt;BR /&gt;
&lt;BR /&gt;
For further sFlow background, please refer to the &lt;A href="https://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Configuration Guide&lt;/A&gt; for your product.&lt;BR /&gt;
See also: &lt;A href="http://bit.ly/1jovBCM" target="_blank" rel="nofollow noreferrer noopener"&gt;13973&lt;/A&gt;.</description>
      <pubDate>Fri, 13 Jun 2014 18:09:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/g-c3-b3-provides-less-sflow-sampling-data-than-expected/m-p/48022#M500</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2014-06-13T18:09:00Z</dc:date>
    </item>
  </channel>
</rss>

