Command Line Interface Guide

Sflow Commands 1633
Command Mode
Global Configuration mode.
User Guidelines
An sflow destination entry must have an owner name defined in order for
polling or sampling to be configured. 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. 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.
2CSPC4.X8100-SWUM100.book Page 1633 Wednesday, August 29, 2012 6:23 PM