clear sflow port sampler
24-14 sFlow Configuration
ge.1.2 1 1024 128
ge.1.3 1 1024 128
ge.1.4 1 1024 128
ge.1.5 1 1024 128
ge.1.6 1 1024 128
ge.1.7 1 1024 128
ge.1.8 1 1024 128
clear sflow port sampler
Usethiscommandtochangethesamplerrateormaximumheadersize,ortoremovesampler
instances.
Syntax
clear sflow port port-string sampler [maxheadersize | rate]
Parameters
Defaults
Ifneitheroptionalparameterisspecified,thesamplerinstanceiscleared.
Mode
Switchcommand,read‐write.
Example
Thisexampleremovesthesamplerinstanceonportge.1.1.
B5(su)->clear sflow port ge.1.1 sampler
set sflow interface
UsethiscommandtospecifytheinterfaceusedforthesourceIPaddressofthesFlowAgentwhen
sendingsamplingdata gramstothesFlowCollector.
Syntax
set sflow interface {loopback loop-ID | vlan vlan-ID}
Parameters
port‐string Specifiestheportorportsonwhichthesamplerinstanceisbeing
cleared.
maxheadersize (Optional)Specifiesthatthemaximumheadersizeshouldbeclearedto
thedefaultvalueof128bytes.
rate (Optional)Specifiesthatthesamplingrateshouldbeclearedtothe
defaultvalueof0,whichdisablessamplingby
theinstance.
loopbackloop‐ID Specifiestheloopbackinterfacetobeused.Thevalueofloop‐IDcan
rangefrom0to7.