Switch User Manual

Sflow Commands 1509
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.
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}
interface-list
poll-interval
no sflow
rcvr-index
polling {gigabitethernet | tengigabitethernet}
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).
2CSPC4.XCT-SWUM2XX1.book Page 1509 Monday, October 3, 2011 11:05 AM