CLI Guide

Table Of Contents
Switch Management Commands 2186
User Guidelines
An sflow destination entry must have an owner assigned in order for polling or
sampling to be operational. The last set of command parameters are optional
in the no form of the command. Sflow commands with a timeout value
supplied do not show in the running config. Because the timer is actively
running, the command is ephemeral and is therefore not shown in the
running config. Entering an sflow command with a notimeout parameter will
cause the sflow configuration to be shown in the running config.
Example
console(config)#sflow 1 destination owner 1 timeout 2000
console(config)#sflow 1 destination maxdatagram 500
console(config)#sflow 1 destination 30.30.30.1 560
sflow polling
Use the sflow polling command to enable a new sflow poller instance for this
data source if rcvr_idx is valid. An sflow poller sends counter samples to the
receiver. Use the “no” form of this command to reset poller parameters to the
defaults.
Syntax
sflow rcvr-index polling {gigabitethernet | tengigabitethernet |
fortygigabitethernet} interface-list poll-interval
no sflow rcvr-index polling {gigabitethernet | tengigabitethernet |
fortygigabitethernet} interfaces
rcvr-index — The sFlow Receiver associated with the poller (Range: 1–
8).
interface-list — The list of interfaces to poll in unit/slot/port format.
poll-interval — The sFlow instance polling interval. A poll interval of 0
disables counter sampling. A value of n means once in n seconds a
counter sample is generated. (Range: 0–86400).
Default Configuration
There are no pollers configured by default.
The default poll interval is 0.