A data source configured to collect counter samples is called a poller. Use this command to enable a new sFlow poller instance on an interface or range of interfaces for this data source if rcvr_idx is valid.
Format | sflow poller {rcvr-indx | interval poll-interval} |
Mode | Interface Config |
Field | Description |
---|---|
Receiver Index | Enter the sFlow Receiver associated with the sampler/poller. A value of zero (0) means that no receiver is configured. The range is 1-8. The default is 0. |
Poll Interval | Enter the sFlow instance polling interval. A poll interval of zero (0) disables counter sampling. When set to zero (0), all the poller parameters are set to their corresponding default value. The range is 0-86400. The default is 0. A value of N means once in N seconds a counter sample is generated. |
The sFlow task is heavily loaded when the sFlow polling interval is configured at the minimum value (i.e., one second for all the sFlow supported interfaces). In this case, the sFlow task is always busy collecting the counters on all the configured interfaces. This can cause the device to hang for some time when the user tries to configure or issue show sFlow commands. To overcome this situation, sFlow polling interval configuration on an interface or range of interfaces is controlled as mentioned below:
- The maximum number of allowed interfaces for the polling intervals max (1, (interval - 10)) to min ((interval + 10), 86400) is interval * 5.
- For every one second increment in the polling interval that is configured, the number of allowed interfaces that can be configured increases by 5.