Switch User Manual
show sflow samplers sFlow Configuration
SecureStack C3 Configuration Guide 28-13
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Asamplerinstanceperformspacketflowsamplingonthedatasourcetowhichitisconfigured.
Referto“SamplingMechanisms”onpage 28‐2formoreinformation.
Youmustfirstassociateareceiver/CollectorinthesFlowReceiversTablewiththesampler
instance,beforeconfiguringthesamplingrateormaximumnumberof
bytescopiedfromsampled
packets.
WhenareceivertimesoutorisclearedfromthesFlowReceiversTable,allpollerandsampler
instancesassociatedwiththatreceiverarealsoclearedfromtheswitch’sconfiguration.
Amaximumof32samplerinstancescanbeconfiguredperswitchorstackofswitches.
Example
Thefollowingexampleconfiguressamplerinstancesonportsge.1.1throughge.1.8andassociates
themwithreceiver1.Then,asamplingrateof1024isconfigured.Thedefaultmaxheadersizeof
128bytesisused.
C3(su)->set sflow port ge.1.1-8 sampler 1
C3(su)->set sflow port ge.1.1-8 sampler rate 1024
show sflow samplers
Usethiscommandtodisplayinformationaboutconfiguredsamplerinstances.
Syntax
show sflow samplers
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
Thisexampledisplaystheoutputofthiscommand.
C3(su)->show sflow samplers
Sampler Receiver Packet Max Header
Data Source Index Sampling Rate Size
----------- ------- ------------- ----------
ge.1.1 1 1024 128