clear sflow port poller
24-12 sFlow Configuration
clear sflow port poller
Usethiscommandtochangethepollerintervalortoremovepollerinstances.
Syntax
clear sflow port port-string poller [interval]
Parameters
Defaults
Ifintervalisnotspecified,thepollerinstanceiscleared.
Mode
Switchcommand,read‐write.
Example
Thisexampleremovesthepollerinstanceonportge.1.1.
B5(su)->clear sflow port ge.1.1 poller
set sflow port sampler
Usethiscommandtoconfiguresamplerinstancesonports,ordatasources.
Syntax
set sflow port port-string sampler {index | maxheadersize bytes | rate rate}
Parameters
port‐string Specifiestheportorportsonwhichthepollerinstanceisbeingcleared.
interval (Optional)Specifiesthatthepollingintervalshouldbeclearedto0.A
valueof0disablescountersampling.
port‐string Specifiestheportorports(datasources)onwhichthesamplerinstance
isbeingconfigured.
index IndexnumberinthesFlowReceiversTableforthereceiver/Collector
withwhichthesamplerinstanceisassociated.Theindexcanrangefrom
1to8.
maxheadersizebytes Specifiesthemaximumnumberofbytesthatshould
becopiedfromthe
samplerpacket.Thevaluecanrangefrom20to256bytes.Thedefaultis
128bytes.
raterate Specifiesthestatisticalsamplingrateforsamplingfromthisdata
source.Thevalueofratespecifiesthenumberofincomingpacketsfrom
whichonepacketwillbesampled.Forexample,
iftherateis1024,one
packetwillbesampledfromevery1024ingressingpacketsonthisdata
source.
Theratecanrangefrom1024to65 536.Avalueof0disablessampling.
Thedefaultvalueis0.