Command Reference Guide

sFlow Commands
CLI Command Reference
September 2014 Page 245
HP Moonshot Switch Module CLI Command Reference
no sflow sampler
Use this command to reset the sFlow sampler instance to the default settings.
sflow poller
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.
no sflow poller
Use this command to reset the sFlow poller instance to the default settings.
sflow source-interface
Use this command to specify the physical or logical interface to use as the sFlow client source interface. If
configured, the address of source Interface is used for all sFlow communications between the sFlow receiver
and the sFlow client. Otherwise there is no change in behavior. If the configured interface is down, the sFlow
client falls back to normal behavior.
Format
no sflow sampler {rcvr-indx | rate sampling-rate | maxheadersize size}
Mode Interface Config
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.
Format
no sflow poller [interval]
Mode Interface Config
Format
sflow source-interface {unit/slot/port | loopback loopback-id | vlan vlan-id}
Mode Global Config