show sflow samplers
Enterasys B5 CLI Reference 24-13
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Asamplerinstanceperformspacketflowsamplingonthedatasourcetowhichitisconfigured.
Referto“SamplingMechanisms”onpage 24‐2formoreinformation.
Youmustfirstassociateareceiver/CollectorinthesFlowReceiversTablewiththesampler
instance,beforeconfiguringthesamplingrateormaximumnumberof
bytescopiedfromsampled
packets.
WhenareceivertimesoutorisclearedfromthesFlowReceiversTable,allpollerandsampler
instancesassociatedwiththatreceiverarealsoclearedfromtheswitch’sconfiguration.
Amaximumof32samplerinstancescanbeconfiguredperswitchorstackofswitches.
Example
Thefollowingexampleconfiguressamplerinstancesonportsge.1.1throughge.1.8andassociates
themwithreceiver1.Then,asamplingrateof1024isconfigured.Thedefaultmaxheadersizeof
128bytesisused.
B5(su)->set sflow port ge.1.1-8 sampler 1
B5(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.
B5(su)->show sflow samplers
Sampler Receiver Packet Max Header
Data Source Index Sampling Rate Size
----------- ------- ------------- ----------
ge.1.1 1 1024 128